Places views in a column.
More...
Places views in a column.
- UI Builder
Vertical
Vertical layout manager places views in a column, fitting their width to the container's height. Has a Vertical
shortcut that allows easy usage in UI building:
setContents(
_new<AButton>("1"),
_new<AButton>("2"),
_new<AButton>("3"),
}
);
Definition: Declarative.h:173
|
static constexpr ALayoutDirection | DIRECTION = ALayoutDirection::VERTICAL |
|
|
static void | disconnect () |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object *object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, Object &object, Function &&function) |
|
template<AAnySignal Signal, aui::derived_from< AObject > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (Signal &signal, _< Object > object, Function &&function) |
|
static void | moveToThread (aui::no_escape< AObject > object, _< AAbstractThread > thread) |
|
void | addViewBasicImpl (Storage view, AOptional< size_t > index) |
|
void | setThread (_< AAbstractThread > thread) |
| Set thread of the object.
|
|
AVector< Storage > | mViews |
|
◆ getLayoutDirection()
ALayoutDirection AVerticalLayout::getLayoutDirection |
( |
| ) |
|
|
overridevirtual |
◆ getMinimumHeight()
int AVerticalLayout::getMinimumHeight |
( |
| ) |
|
|
overridevirtual |
◆ getMinimumWidth()
int AVerticalLayout::getMinimumWidth |
( |
| ) |
|
|
overridevirtual |
◆ onResize()
void AVerticalLayout::onResize |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
overridevirtual |
◆ setSpacing()
void AVerticalLayout::setSpacing |
( |
int |
spacing | ) |
|
|
overridevirtual |
#include <AUI/Layout/AVerticalLayout.h>
The documentation for this class was generated from the following files:
- aui.views/src/AUI/Layout/AVerticalLayout.h
- aui.views/src/AUI/Layout/AVerticalLayout.cpp