Expand description
Runtime support for layouts.
Re-exports§
pub use crate::items::Orientation;
Structs§
- The BoxLayoutData is used to represent both a Horizontal and Vertical layout. The width/height x/y correspond to that of a horizontal layout. For vertical layout, they are inverted
- The constraint that applies to an item
Functions§
- Return the LayoutInfo for a BoxLayout with the given cells.
- Returns the logical min and max sizes given the provided layout constraints.
- Given the cells of a layout of a Dialog, re-order the button according to the platform
- Solve a BoxLayout
- return, an array which is of size
data.cells.len() * 2
which for each cell we give the pos, size