# plan_grid_track_change

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/function-plan_grid_track_change/

**function** · [`ferroui-designer-tools`](/docs/0.5.0/api/ferroui-designer-tools/) · v0.5.0

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/grid_tracks.rs#L192)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
