module RatatuiRuby::Layout::VerticalAlignment
Vertical content alignment within a layout area.
Use these constants for discoverability, or pass symbols directly (:top, :center, :bottom).
Mirrors ratatui::layout::VerticalAlignment from upstream Ratatui.
Example
# Using constants (discoverable) widget.vertical_alignment = VerticalAlignment::CENTER # Using symbols directly (idiomatic Ruby) widget.vertical_alignment = :center
Constants
- ALL
-
All valid alignment values.
- BOTTOM
-
Align content to the bottom edge.
- CENTER
-
Align content to the center.
- TOP
-
Align content to the top edge.