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

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

Constructor

new

Creates a new Layout::Manager::Single.

Instance Methods

do_layout

Size and position the components in this layout.

AUTHOR

Cory Watson, <gphat@cpan.org>

Infinity Interactive, http://www.iinteractive.com

COPYRIGHT & LICENSE

Copyright 2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

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