User Guide
Customizing the ScrollPane component 1097
Bear in mind these points about the ScrollPane component:
■ 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.
■ If the scroll pane is too small, the content may not display correctly.
■ When the scroll pane is resized, the buttons remain the same size. The scroll track and
scroll box (thumb) expand or contract, and their hit areas are resized.
Using styles with the ScrollPane component
The ScrollPane supports the following styles:
Using skins with the ScrollPane component
The ScrollPane component uses an instance of RectBorder for its border and scroll bars for
scroll assets. For more information about skinning these visual elements, see “RectBorder
class” on page 1063 and “Using skins with the UIScrollBar component” on page 1394.
Style Theme Description
themeColor
Halo The base color scheme of a component. Possible
values are
"haloGreen", "haloBlue", and "haloOrange".
The default value is
"haloGreen".
borderStyle
Both The ScrollPane component uses a RectBorder
instance as its border and responds to the styles
defined on that class. See “RectBorder class”
on page 1063.
The default border style is
"inset".
scrollTrackColor
Sample The background color for the scroll track. The default
value is 0xCCCCCC (light gray).
symbolColor
Sample The color of the arrows on the scrollbar buttons. The
default value is 0x000000 (black).
symbolDisabledColor
Sample The color of disabled arrows on the scrollbar buttons.
The default value is 0x848384 (dark gray).