Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.34
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download



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/control:  thumbnailpanel

XML/Code Samples

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

   

 

This page has no comments.