# LibTmux::Model::WindowRef.spread-layout

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Model.rakumod#L204
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-windowref-spread-layout/

```
method spread-layout(--> Result:D)
```

Distribute space evenly around the active pane using [select-layout](/en/tmux/latest/manual/select-layout/) -E.

Distribute space evenly around the active pane using [select-layout](/en/tmux/latest/manual/select-layout/) -E.

## tmux command

The tmux commands behind `spread-layout`.

- [`select-layout`](/en/tmux/latest/manual/select-layout/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_select_layout_entry`](/en/tmux/latest/reference/c-variable-cmd_select_layout_entry/) (attribute)
- [`cmd_select_layout_exec`](/en/tmux/latest/reference/c-function-cmd-select-layout-c-cmd_select_layout_exec/) (function)
