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