summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 10:03:11 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 10:03:11 -0400
commiteb4b082d7f4377cb73a0b91993210d41e40ad431 (patch)
tree14aa2ced8a8fc9b41a2f6ca5bd6463d643407baf
parenta2629c2bbf19e2e904d6d814ae725ccd697f485f (diff)
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...
-rw-r--r--redo/tab_windows.go1
1 files changed, 0 insertions, 1 deletions
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 {