Layout...:Single(3pm)

πŸ“¦
version 0.35 Β· 2 versions
  • 0.35 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.35 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Layout::Manager::Single β€” it's giving one-size-fits-all, bestie πŸ’… a vertical layout manager. That's it, that's the whole job. Also hi, this is the page for it, sitting in section 3pm of the User Contributed Perl Documentation, so you know it's the real deal 🫢


🌸 DESCRIPTION 🌸

Okay so picture this: every single component gets laid out in one position. One. Just the one. No grid, no drama, no negotiation πŸŽ€

Every component is set to the height and width of the container, and positioned at the offsets. That's the whole vibe.

Which basically means… it stacks them all vertically. Like a little tower of components 🧚 Stacked. All of them. In a row. Vertically. Periodt πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

$cont->add_component($comp1);
$cont->add_component($comp2);

my $lm = Layout::Manager::Single->new();
$lm->do_layout($cont);

Look at her go ✨ add your components, make your layout manager, call do_layout, done. Iconic behaviour, no notes.


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ do_layout

Size and position the components in this layout. That's the assignment. She ate and left no crumbs πŸ“


🌈 AUTHOR 🌈

Cory Watson, <gphat@cpan.org> β€” say thank you to the legend πŸ‘‘


Copyright 2008 - 2010 by Cory G Watson

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Slay, and legally so πŸ’…


Okay bye bestie, this was perl v5.34.0, dated 2022-06-15, and yes that's the same Layout...:Single(3pm) from the top of the page β€” full circle, main character energy, no cap πŸ’–βœ¨

πŸ“¦ where this page comes from