ASpacerExpanding#
Expanding view which is useful in UI building.
Header: | #include <AUI/View/ASpacerExpanding.h> |
CMake: | aui_link(my_target PUBLIC aui::views) |
Detailed Description#
AExpandingSpacer is an expanding blank view which tries acquire space as much as possible.
See expanding in layout managers for more info.
Examples#
examples/app/minesweeper/src/NewGameWindow.cpp
Minesweeper Game - Minesweeper game implementation driven by ass.
examples/ui/views/src/ExampleWindow.cpp
Views Example - All-in-one views building example.
}
}),
_new<ASpacerExpanding>(),
},
AUI_DECLARATIVE_FOR(i, *state->colors, AWordWrappingLayout) {
return Horizontal {
_new<ALabel>(i.toString()) AUI_WITH_STYLE {
TextColor { i.readableBlackOrWhite() },
}
} AUI_WITH_STYLE {