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:
Pietro Gagliardi 2014-08-14 10:03:11 -04:00
parent a2629c2bbf
commit eb4b082d7f
1 changed files with 0 additions and 1 deletions

View File

@ -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 {