Decided to consider the preferred size of all tabs on Windows; on Windows Tabs aren't really expected to resize based on which tab is selected, unlike Mac OS X...
This commit is contained in:
parent
a2629c2bbf
commit
eb4b082d7f
|
@ -70,7 +70,6 @@ func (t *tab) allocate(x int, y int, width int, height int, d *sizing) []*alloca
|
|||
}
|
||||
|
||||
func (t *tab) preferredSize(d *sizing) (width, height int) {
|
||||
// TODO only consider the size of the current tab?
|
||||
for _, s := range t.tabs {
|
||||
w, h := s.child.preferredSize(d)
|
||||
if width < w {
|
||||
|
|
Loading…
Reference in New Issue