A vertical box layout container.
More...
#include <vbox.h>
|
| float | gap = 8.0F |
| | Gap between child elements.
|
| |
| float | padding = 10.0F |
| | Padding around the content.
|
| |
| bool | visible = true |
| | Whether the widget is visible.
|
| |
| bool | enabled = true |
| | Whether the widget is enabled.
|
| |
| bool | focusable = false |
| | Whether the widget can receive focus.
|
| |
| Widget * | parent = nullptr |
| | Pointer to the parent widget.
|
| |
| std::vector< std::unique_ptr< Widget > > | children |
| | Child widgets.
|
| |
| asw::Quad< float > | transform |
| | The transform (position and size) of the widget.
|
| |
A vertical box layout container.
Definition at line 19 of file vbox.h.
◆ layout()
| void asw::ui::VBox::layout |
( |
Context & | ctx | ) |
|
|
overridevirtual |
◆ gap
| float asw::ui::VBox::gap = 8.0F |
Gap between child elements.
Definition at line 22 of file vbox.h.
◆ padding
| float asw::ui::VBox::padding = 10.0F |
Padding around the content.
Definition at line 25 of file vbox.h.
The documentation for this class was generated from the following files: