pub fn orientation() -> OrientationExpand description
Orientation of the main surface: Orientation::Landscape when wider
than tall, Orientation::Portrait otherwise (square counts as
portrait, matching Length::orient’s resolution rule). Usable
straight from view() to pick a row or a column arrangement without
tracking on_resize by hand — the runtime rebuilds the view on every
resize, so a layout branched on this follows the window live.