Skip to content

Commit

Permalink
TabWidget: Fix the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lxn committed Nov 4, 2020
1 parent d5cfe21 commit d863433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabwidget.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ func (li *tabWidgetLayoutItem) MinSize() Size {
}
}

return Size{min.Height + li.nonClientSizePixels.Width, min.Height + li.nonClientSizePixels.Height}
return Size{min.Width + li.nonClientSizePixels.Width, min.Height + li.nonClientSizePixels.Height}
}

func (li *tabWidgetLayoutItem) MinSizeForSize(size Size) Size {
Expand Down

0 comments on commit d863433

Please sign in to comment.