FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    plan_grid_track_change

    function · ferroui-designer-tools · v0.5.0

    fn plan_grid_track_change(document: &ferroui_designer_core::Document, panel: ferroui_designer_core::NodeId, axis: crate::Axis, change: GridTrackChange) -> crate::Result<Vec<ferroui_designer_core::Edit>>
    

    Plans one atomic definition/cell edit. Inserts expand a child spanning the new track; removals shrink spans and move children in a removed track to its surviving neighbour. Bound cell positions are rejected because their future effective index is not knowable.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.