Module: RubyTUI::Layout::Flex
- Defined in:
- lib/rubytui/layout/flex.rb
Overview
Flex modes control how spare space is distributed when constraints don't perfectly consume the available area.
Constant Summary collapse
- START =
Pack items to start, spare space at end
:start- END_POS =
Pack items to end, spare space at start
:end- CENTER =
Center items, spare space split around edges
:center- SPACE_BETWEEN =
Distribute spare space between items
:space_between- SPACE_AROUND =
Distribute spare space around items
:space_around- STRETCH =
Stretch fill constraints to consume all space (default)
:stretch