Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YWeight Class Reference

Control relative size of layouts. More...


Detailed Description

Control relative size of layouts.

HWeight VWeight

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.

See the Layout HOWTO for details.


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6