#include <nxt/tui.hpp>
template <Layout... Children>
Column struct
Vertical flex container.
Public functions
- auto height_hint() const → HeightHint constexpr
- Sum child minimum heights and flex factors.
- void render(RasterView& raster, Size size) const
- Divide height among children and render them top to bottom.
- auto width_hint() const → WidthHint constexpr
- Use the widest child minimum width and grow horizontally.
Public variables
-
std::
tuple<Children...> children - Child layouts arranged top to bottom.