Module sixtyfps_corelib::layout [−][src]
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
Enum representing the alignment property of a BoxLayout or HorizontalLayout
Vertical or Horizontal orientation
Functions
Return the LayoutInfo for a BoxLayout with the given cells.
Solve a BoxLayout
return, an array which is of size data.cells.len() * 2
which for each cell we give the pos, size