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{