# tui/resize-policy Get or set the calling panel's workspace resize policy. | Policy | Behavior | |--------|----------| | `:auto` | Default. Participates in automatic ratio rebalancing and can be manually resized. | | `:manual` | Keeps its share during automatic rebalancing, but can still be dragged / `tui/resize`d. | | `:none` | Fully fixed. No automatic rebalance, manual resize, split, or title-bar drag. | The same policy can be declared per leaf in a workspace spec with `:resize :auto|:manual|:none`. ## Syntax
[tui/resize-policy]          # → current policy keyword
[tui/resize-policy :none]    # fix the calling panel
## Returns The getter returns the current policy keyword. The setter returns `true` when applied, or `false` for an unknown policy / non-leaf caller. ## Example
# A fixed navigation rail: adding content panels only splits the content.
defimpl Toolbar AppLifecycle {
    on-init {|| [tui/resize-policy :none] nil }
}