
Adding more than one component to this layout will yield strange behavior.
Public Member Functions | |
| void | add (Component *comp, const LayoutConstraint *) |
| adds a component to be laid out later | |
| AlignedLayout (HorzAlignment h=HCENTER, VertAlignment v=VCENTER) | |
| void | layout (Widget *obj, const Bounds &inner) |
| lays out the given object | |
| Size | preferredLayoutSize (const Widget *obj) const |
| calculates the preferred size for the given object | |
| void | remove (Component *comp) |
| removes a component | |
|
||||||||||||
|
|
|
||||||||||||
|
adds a component to be laid out later
The components are only modified when
Implements ONE::gui::LayoutManager. |
|
||||||||||||
|
lays out the given object
This function will rearrange and resize
Implements ONE::gui::LayoutManager. |
|
|
calculates the preferred size for the given object
The size is calculated based on this layout manager's layout strategy and the content's preferred sizes. Note, hovever, that this function does not check for the presence of a border around
Implements ONE::gui::LayoutManager. |
|
|
removes a component
Implements ONE::gui::LayoutManager. |
1.4.3