[][src]Module unsegen::widget::layouts

Basic linear layouting for Widgets.

Structs

HorizontalLayout

A Layout that can be used to draw widgets horizontally, side by side on a window.

VerticalLayout

A Layout that can be used to draw widgets vertically, one ontop the other, on a window.

Enums

SeparatingStyle

Variants on how to distinguish two neighboring widgets when drawing them to a window.

Functions

layout_linearly

Compute assigned lengths for the given demands in one dimension of size available_space.