Skip to content

Commit

Permalink
fix(SplitLayout): height of 2nd child in V-split
Browse files Browse the repository at this point in the history
fix #888
  • Loading branch information
gucio321 committed Oct 26, 2024
1 parent b211d47 commit 158ae8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SplitLayout.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
Expand Down

0 comments on commit 158ae8e

Please sign in to comment.