- Required: No
- Type of Change: Feature
Description of Change
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.
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
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