From 158ae8e23b42690d205c31f514893d6b6e5a1072 Mon Sep 17 00:00:00 2001 From: gucio321 Date: Sat, 26 Oct 2024 23:40:59 +0200 Subject: [PATCH] fix(SplitLayout): height of 2nd child in V-split fix #888 --- SplitLayout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SplitLayout.go b/SplitLayout.go index 5bb4a68d..21922749 100644 --- a/SplitLayout.go +++ b/SplitLayout.go @@ -101,7 +101,7 @@ func (s *SplitLayoutWidget) Build() { layout = Layout{ Row( - s.buildChild(*s.sashPos, 0, s.layout1), + s.buildChild(*s.sashPos, Auto, s.layout1), Splitter(DirectionVertical, &(splitLayoutState.delta)).Size(s.originItemSpacingX, 0), s.buildChild(Auto, Auto, s.layout2), ),