docking: Placement::Split's doc describes the half split

This commit is contained in:
aiongg committed 2026-10-24 13:07:07 +00:00
1 parent 95be650aba
commit 3ddbb0b181
1 file changed
+2 -4
+2 -4
View File
@@ -302,10 +302,8 @@ impl<P> Default for Layout<P> {
pub enum Placement<P> {
/// Insert before this existing destination member, or append. Also reorders a group.
Tab { before: Option<P> },
/// 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.