Flow

The Flow enum defines the direction and behavior of content flow within a layout in Makepad. It determines how child elements are arranged and wrapped.

Properties

decoratenametypedescription
liveRightFlowContent flows from left to right.
liveDownFlowContent flows from top to bottom.
liveOverlayFlowContent is overlaid on top of each other.
liveRightWrapFlowContent flows from left to right and wraps to the next line when it reaches the end of the container.

Example

#![allow(unused)]
fn main() {
flow: Down,
flow: Overlay,
flow: RightWrap,
flow: Right,
}