|
AUI Framework
master
Cross-platform base for C++ UI apps
|
Places views in a row. More...
#include <AUI/Layout/AHorizontalLayout.h>
Public Member Functions# | |
| AHorizontalLayout (int spacing) | |
| void | onResize (int x, int y, int width, int height) override |
| int | getMinimumWidth () override |
| int | getMinimumHeight () override |
| void | setSpacing (int spacing) override |
| Layout spacing. | |
| int | getSpacing () const |
| ALayoutDirection | getLayoutDirection () override |
Static Public Attributes# | |
| static constexpr ALayoutDirection | DIRECTION = ALayoutDirection::HORIZONTAL |
| Declarative notation | Horizontal { } |
Horizontal layout manager places views in a row, fitting their height to the container's height. Has a Horizontal shortcut that allows easy usage in UI building:
|
overridevirtual |
Reimplemented from ALayout.
|
overridevirtual |
Implements ALayout.
|
overridevirtual |
Implements ALayout.
|
overridevirtual |
Implements ALayout.
|
overridevirtual |
| spacing | spacing in px. |
Reimplemented from ALayout.