NAME
Tickit::Widget::VBox
- distribute child widgets in a vertical column
SYNOPSIS
use Tickit;
use Tickit::Widget::VBox;
use Tickit::Widget::Static;
my $vbox = Tickit::Widget::VBox->new;
foreach my $position (qw( top middle bottom )) {
$vbox->add(
Tickit::Widget::Static->new(
text => $position,
align => "centre",
valign => $position,
),
expand => 1
);
}
Tickit->new( root => $vbox )->run;
DESCRIPTION
This container widget distributes its children in a vertical column.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>