Scrollbar¶
- component fbx.ui.control.Scrollbar¶
Scrollbar shows current position in a 2d land.
- property widthRatio¶
Ratio between currently viewable width and total width.
- property heightRatio¶
Ratio between currently viewable height and total height.
- property xPosition¶
Current position of the leftmost edge of viewport in the scrollable view. This must be between 0 and 1 - widthRatio.
- property yPosition¶
Current position of the uppermost edge of viewport in the scrollable view. This must be between 0 and 1 - heightRatio.
- property autoHide¶
Whether scrollbar automatically hides itself when viewport is at a stable position.
- property cursor.color¶
Color for the cursor rectangle
- property cursor.radius¶
Border radius for the cursor rectangle
- property color¶
Color for the background rectangle
- property radius¶
Border radius for the background rectangle