Module i_slint_core::layout
source · Expand description
Runtime support for layouts.
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
Enums
- Vertical or Horizontal orientation
Functions
- Return the LayoutInfo for a BoxLayout with the given cells.
- 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() * 2which for each cell we give the pos, size