Yast UI
YWeight Class Reference

Control relative size of layouts. More...

Detailed Description

Control relative size of layouts.

Following widget variants exist: HWeight VWeight Id of widget: Weight

This widget is used to control the layout. When a HBox or VBox widget decides how to devide remaining space amount two stretchable widgets, their weights are taken into account. This widget is used to change the weight of the child widget. Each widget has a vertical and a horizontal weight. You can change on or both of them. If you use HVWeight, the weight in both dimensions is set to the same value.

Note: No real widget is created (any more), just the weight value is passed to the child widget.

The documentation for this class was generated from the following file: