![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
You can transform a ScrollPane component horizontally and vertically both while authoring and at runtime. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At runtime, use the setSize()
method (see UIObject.setSize()
) or any applicable properties and methods of the ScrollPane class. See ScrollPane class. If the ScrollPane is too small, the content may not display correctly.
The ScrollPane places the registration point of its content in the upper left corner of the pane.
When the horizontal scroll bar is turned off, the vertical scroll bar is displayed from top to bottom along the right side of the scroll pane. When the vertical scroll bar is turned off, the horizontal scroll bar is displayed from left to right along the bottom of the scroll pane. You can also turn off both scroll bars.
When the scroll pane is resized, the buttons remain the same size and the scroll track and thumb expand or contract, and their hit areas are resized.
The ScrollPane doesn't support styles, but the scroll bars that it uses do. For more information, see Using styles with the ScrollPane component.
The ScrollPane component doesn't have any of its own skins, but the scroll bars that it uses do have skins. For more information, see Using skins with the ScrollPane component.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |