The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

VERSION

version 0.003 Tickit::Layout::Relative - apply sizing to a group of Tickit widgets

SYNOPSIS

 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',
 );

DESCRIPTION

Provides the underlying implementation for widget layout used by Tickit::Widget::Layout::Relative.

METHODS

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2012-2013. Licensed under the same terms as Perl itself.