summaryrefslogtreecommitdiff
path: root/redo/tab_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/tab_windows.go')
-rw-r--r--redo/tab_windows.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/redo/tab_windows.go b/redo/tab_windows.go
index 3c1862d..31493cd 100644
--- a/redo/tab_windows.go
+++ b/redo/tab_windows.go
@@ -94,11 +94,9 @@ func (t *tab) commitResize(c *allocation, d *sizing) {
r.top = C.LONG(0)
r.right = C.LONG(c.width)
r.bottom = C.LONG(c.height)
-println(r.left, r.top, r.right, r.bottom)
C.tabGetContentRect(t._hwnd, &r)
// and resize tabs
// don't resize just the current tab; resize all tabs!
-println(r.left, r.top, r.right, r.bottom)
for _, c := range t.tabs {
// because each widget is actually a child of the Window, the origin is the one we calculated above
c.move(&r)