Cory Watson > Layout-Manager-0.30 > Layout::Manager::Single

Download:
Layout-Manager-0.30.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Layout-Manager-0.31

NAME ^

Layout::Manager::Single - One-size vertical layout manager

DESCRIPTION ^

Lays out all components in a single position. All components are set to the height and width of the container and positioned at the offsets. This basically stacks them all vertically.

SYNOPSIS ^

  my $lm = Layout::Manager::Single->new();
  
  $lm->add_component($comp1);
  $lm->add_component($comp2);

  $lm->do_layout($container);

METHODS ^

do_layout

Size and position the components in this layout.

AUTHOR ^

Cory Watson, <gphat@cpan.org>

COPYRIGHT & LICENSE ^

Copyright 2008 - 2009 by Cory G Watson

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.