From 3ddbb0b1818f7dc24c351589704b9a2fc21b7152 Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 24 Oct 2026 13:07:07 +0000 Subject: [PATCH] docking: Placement::Split's doc describes the half split --- crates/ui/src/docking/model.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/ui/src/docking/model.rs b/crates/ui/src/docking/model.rs index 543e2bb62..a30e59944 100644 --- a/crates/ui/src/docking/model.rs +++ b/crates/ui/src/docking/model.rs @@ -302,10 +302,8 @@ impl

Default for Layout

{ pub enum Placement

{ /// Insert before this existing destination member, or append. Also reorders a group. Tab { before: Option

}, - /// Center inserts after the anchor; sides create a new half-size split. Sides apply to - /// `Tabs` and `Stack` nodes only. A frame that holds the fixed size of its parent split - /// along the same axis keeps it: on its outer side the new split wraps the parent, on its - /// inner side it halves the parent's other child. + /// Center inserts after the anchor; sides split the anchor's frame into two halves, and + /// every other frame keeps its size. Sides apply to `Tabs` and `Stack` nodes only. Split(Zone), /// A new group above or below the anchor's group in a dock column. On an anchor in a /// floating window, a split of the anchor's group above or below.