MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 13:24, 5 Nov 2010 by SilentException
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > Thumbnailpanel Scrollbar

Thumbnailpanel Scrollbar

Was this page helpful?

    Purpose

    • Required:  No
    • Type of Change:  Feature

    Description of Change

    Background
    A vertical scrollbar (GUIVerticalScrollbar) is automatically attached to any listcontrol (GUIListControl) or thumbcontrol (GUIThumbnailPanel) if the listcontrol/thumbcontrol contains more elements than can be fitted in the defined height, and the user has checked the "show special mouse controls (scrollbars, etc)" option in MP Config.

    Problem
    The scrollbar is absolutely positioned 5 pixel to the right of the control, and has an absolute width of 15 pixels. This means that:
    - you cannot have a scrollbar to the left of the panel
    - you cannot use a scrollbar wider than 15 pixels here, even though the scrollbar defined in references.xml may be wider or more narrow

    Solution
    2 new XML-properties called <scrollbarXOff> and <scrollbarwidth> usable with any listcontrol and thumbcontrol. Default values are "0" and "15" so this will not affect existing skins. You can set a negative value on scrollbarXOff to move the control to the left, or a positive value to move it to the right.

    Additional Information and References

    • Mantis Issue: 0003144
    • Related xml(s):  *
    • Window ID: *    
    • Related GUI property/controlthumbnailpanel

    XML/Code Samples

    <scrollbarXOff>0</scrollbarXOff>
    <scrollbarwidth>15</scrollbarwidth>



    Running the latest version?

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