[][src]Module sixtyfps_corelib::layout

Runtime support for layouting.

Currently this is a very basic implementation

Structs

BoxLayoutCellData
BoxLayoutData

The BoxLayoutData is used to represent both a Horizontal and Vertical layout. The width/height x/y corrspond to that of a horizontal layout. For vertical layout, they are inverted

Constraint
GridLayoutCellData
GridLayoutData
LayoutInfo

The constraint that applies to an item

Padding
PathLayoutData
PathLayoutItemData

Enums

LayoutAlignment

Enum representing the alignment property of a BoxLayout or HorizontalLayout

Functions

box_layout_info

Return the LayoutInfo for a BoxLayout with the given cells.

grid_layout_info
solve_box_layout

Solve a BoxLayout

solve_grid_layout

FIXME: rename with sixstyfps prefix

solve_path_layout

FIXME: rename with sixstyfps prefix