From eb4b082d7f4377cb73a0b91993210d41e40ad431 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 10:03:11 -0400 Subject: 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... --- redo/tab_windows.go | 1 - 1 file changed, 1 deletion(-) diff --git a/redo/tab_windows.go b/redo/tab_windows.go index 3c80464..43946b7 100644 --- a/redo/tab_windows.go +++ b/redo/tab_windows.go @@ -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 { -- cgit v1.2.3