Walk

The Walk struct is a fundamental part of layout management in Makepad, allowing for flexible and precise positioning and sizing of widgets. Here's a detailed breakdown of its properties:

Property NameType
abs_posOption<DVec2>
marginMargin
widthSize
heightSize

See DVec2

See Margin

See Size

Example

#![allow(unused)]
fn main() {
{
    height: Fit,
    width: Fill,
    abs_pos: vec2(200. ,9.),
    margin: 16.0,
}
}