A scrollable container with horizontal and vertical scroll bars. Add children via add_content.
Inherits from: Box
Lua full name: lysa.ui.ScrollBox
|
| nil | set_resources (resBox: string, resVScroll: string, resHScroll: string) |
| | Reloads the visual style: resBox = inner box, resVScroll = vertical scroll bar, resHScroll = horizontal scroll bar. More...
|
| |
| Widget | add_content (child: Widget, alignment: integer, resource: string) |
| | Adds a child widget to the scrollable inner box. More...
|
| |
| nil | remove_content (child: Widget) |
| | Removes a child widget from the inner box. More...
|
| |
| nil | remove_all_content () |
| | Removes all children from the inner box. More...
|
| |
|
| Box | inner_box |
| | The scrollable inner box containing the added content widgets. (read-only)
|
| |