version 0.003 Tickit::Layout::Relative - apply sizing to a group of Tickit widgets
my $l = Tickit::Layout::Relative->new(width => 80, height => 45); $l->add( title => 'Little panel', id => 'send', border => 'round dashed single', width => '33%', height => '5em', ); $l->add( title => 'Another panel', id => 'listen', below => 'send', top_align => 'send', border => 'round dashed single', width => '33%', height => '10em', ); $l->add( title => 'Something on the right', id => 'overview', right_of => 'listen', bottom_align => 'listen', margin_top => '1em', margin_right => '3em', );
Provides the underlying implementation for widget layout used by Tickit::Widget::Layout::Relative.
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2012-2013. Licensed under the same terms as Perl itself.
To install Tickit::Widget::Layout::Relative, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tickit::Widget::Layout::Relative
CPAN shell
perl -MCPAN -e shell install Tickit::Widget::Layout::Relative
For more information on module installation, please visit the detailed CPAN module installation guide.