Layout aid: Minimize widget to its preferred size. More...
Layout aid: Minimize widget to its preferred size.
Following widget variants exist: HSquash VSquash HVSquash Id of widget:
The Squash widgets are used to control the layout. A
HSquash widget makes its child widget nonstretchable in the horizontal dimension. A
VSquash operates vertically, a
HVSquash in both dimensions.
You can used this for example to reverse the effect of
Left making a widget stretchable. If you want to make a VBox containing for left aligned CheckBoxes, but want the VBox itself to be non-stretchable and centered, than you enclose each CheckBox with a
Left( .. ) and the whole VBox with a
HSquash( ... ).