From b9ec39126c9a2f33f9a950d77bdee655f85067a6 Mon Sep 17 00:00:00 2001 From: Merlin <158784988+merlinz01@users.noreply.github.com> Date: Sat, 18 Oct 2025 19:45:07 -0400 Subject: [PATCH] Fix layoutFlags assignment in CreateLayoutItem method These were switched, causing a horizontal separator to appear as a vertical one. --- separator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/separator.go b/separator.go index 71af40ec..cba2aaeb 100644 --- a/separator.go +++ b/separator.go @@ -41,9 +41,9 @@ func newSeparator(parent Container, vertical bool) (*Separator, error) { func (s *Separator) CreateLayoutItem(ctx *LayoutContext) LayoutItem { var layoutFlags LayoutFlags if s.vertical { - layoutFlags = GrowableHorz | GreedyHorz - } else { layoutFlags = GrowableVert | GreedyVert + } else { + layoutFlags = GrowableHorz | GreedyHorz } return &separatorLayoutItem{