Module layout

Source
Expand description

Flex layout and box model wrappers. Layout widgets: flex (Row/Column), Container, scroll, align, spacing.

Re-exports§

pub use align::Align;
pub use clip_rect::ClipRect;
pub use column::Column;
pub use container::Container;
pub use layout_ext::finish_view;
pub use layout_ext::FlexItemExt;
pub use layout_ext::FlexLayoutExt;
pub use layout_ext::LayoutExt;
pub use margin::Margin;
pub use padding::Padding;
pub use resize_bar::ResizeAxis;
pub use resize_bar::ResizeBar;
pub use resize_bar::ResizeBarStyle;
pub use resize_bar::ResizeDragPhase;
pub use resize_bar::SplitResizeEvent;
pub use row::Row;
pub use scroll_view::ScrollView;
pub use scroll_view::ScrollbarStyle;
pub use split_pane::SplitPane;
pub use split_pane::SplitPaneStyle;

Modules§

align
Single-child alignment within the maximum allocated box.
clip_rect
Single-child rectangular clipping wrapper.
column
Declarative vertical flex container.
container
Declarative single-child box model with background, border, shadow, and clip.
layout_ext
Shared size/flex builder traits, view finalization, and implementation macros.
margin
Low-level outer-inset layout widget.
padding
Low-level inner-inset layout widget.
panel
Immediate-mode panel surface and horizontal border rules.
resize_bar
Standalone draggable split-resize handle and provider-neutral event model.
row
Declarative horizontal flex container.
scroll_view
Single-child clipped scrolling, virtualization hints, follow-end, and bars.
split_pane
Two-child split layout with a draggable, bindable seam.