YWeight Class Reference
Control relative size of layouts.
More...
Detailed Description
Control relative size of layouts.
HWeight VWeight Weight
- integer weight the new weight of the child widget
- term child the child widget `HWeight( 2, `SelectionBox( "Language" ) ) Weight1.ycp Layout-Buttons-Equal-Even-Spaced1.ycp Layout-Buttons-Equal-Even-Spaced2.ycp Layout-Buttons-Equal-Growing.ycp Layout-Mixed.ycp Layout-Weights1.ycp Layout-Weights2.ycp
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:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by
1.4.6