MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 20:03, 27 Nov 2010 by Dadeo
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > ListControl Scroll Fix and Loop Delay

ListControl Scroll Fix and Loop Delay

Was this page helpful?

    Purpose

    • Required:  No
    • Type of Change:  Feature

    When you scroll to the end of a list (GuiListControl) the cursor should jump to the beginning of the list. If you scroll to the beginning of the list, cursor should be moved to last item. Depending on the property "_loopDelay" there can be a pause when reaching the top/bottom of the list before scrolling resumes.

    This _loopDelay property was ignored, the list never looped but stayed at the beginning/top of the list until the up/down button was released.

    Description of Change

    The change fixes this, so from now on the list waits "_loopDelay" ms and then jumps to the beginning/end of list. Furthermore it is exposed as a skin property (loopDelay) so the skin designer can choose how the list behaves.

    Additional Information and References

    • Mantis Issue: 3205
    • Related xml(s):  *
    • Window ID:  *
    • Related GUI property/control:  GUIListControl (listcontrol)

    XML/Code Samples

    <control>
      <description>listcontrol</description>
      <type>listcontrol</type>
      <id>50</id>
      <onleft>2</onleft>
      <onright>2</onright>
      <scrollOffset>2</scrollOffset>
      <loopDelayMs>500</loopDelayMs>
    </control>

    Screenshots

    No screenshot can demonstrate this change/feature.




    Running the latest version?

    V1.7.0 - released April 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners