NAME
Tickit::Widget::LinearBox
- abstract base class for HBox
and VBox
DESCRIPTION
This class is a base class for both Tickit::Widget::HBox and Tickit::Widget::VBox. It is not intended to be used directly.
It implements the following child widget options:
- expand => NUM
-
A number used to control how extra space is distributed among child widgets, if the window containing this widget has more space available to it than the children need. The actual value is unimportant, but extra space will be distributed among the children in proportion with their
expand
value.For example, if all the children have a
expand
value of 1, extra space is distributed evenly. If one child has a value of 2, it will gain twice as much extra space as its siblings. Any child with a value of 0 will obtain no extra space. - force_size => NUM
-
If provided, forces the size of this child widget, overriding the value returned by
get_child_base
.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>