# layout_spread_out

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1287
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-layout_spread_out/

```c
void layout_spread_out(struct window_pane *wp)
```

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`cmd_select_layout_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-layout-c-cmd_select_layout_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-layout.c#L104)

## Calls

- [`layout_fix_offsets`](/en/tmux/3.7c/reference/c-function-layout_fix_offsets/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1298)
- [`layout_fix_panes`](/en/tmux/3.7c/reference/c-function-layout_fix_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1299)
- [`layout_spread_cell`](/en/tmux/3.7c/reference/c-function-layout_spread_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1297)

## Referenced declarations

- [`window_pane.layout_cell`](/en/tmux/3.7c/reference/c-struct-window_pane-layout_cell/) (attribute)
- [`layout_cell.parent`](/en/tmux/3.7c/reference/c-struct-layout_cell-parent/) (attribute)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
