HBoxLayout
classin packageklyn.gui.windows.layouts
public class HBoxLayout extends Layout:
Horizontal layout.
Widgets are placed from left to right. Extra horizontal space is
distributed according to `LayoutParams.growX`.
row = Container(HBoxLayout(spacing=8))
row.add(Button("Cancel"))
ok = Button("Save")
ok.layoutParams = LayoutParams(growX=1)
row.add(ok)
Properties
| Modifier and Type |
Member |
Description |
| public property |
align |
No summary. |
| public property |
spacing |
No summary. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
HBoxLayout |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
layout |
No summary. |
Methods inherited from Layout: _ceilDiv,
_childOuterPreferredHeight,
_childOuterPreferredWidth,
_childParams,
_clamp,
_edgeBottom,
_edgeLeft,
_edgeRight,
_edgeTop,
_innerHeight,
_innerWidth,
_innerX,
_innerY,
_marginBottom,
_marginLeft,
_marginRight,
_marginTop,
_max,
_min,
_normalizeAlign,
_place,
_preferredHeight,
_preferredWidth,
layout