Skip to main content

column_cutoff

Function column_cutoff 

Source
pub const fn column_cutoff(size: SizeClass) -> Priority
Expand description

The column-drop cutoff a window of this size class asks for.

The seam between makeover-layout and makeover-geometry that neither crate could close. Layout defines the priority ladder and Column::kept_at; geometry defines the boundaries. Nothing said which cutoff a compact window uses, so both webview apps answered it with nth-child on an ordinal and inserting a column silently hid the wrong one.

A free function rather than an Affordance member because a column is not gated, it is ranked: the question is which cutoff to raise to, not whether the table exists.