summaryrefslogtreecommitdiff
path: root/tab_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'tab_darwin.go')
-rw-r--r--tab_darwin.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/tab_darwin.go b/tab_darwin.go
index 9f5ecff..7a8aefe 100644
--- a/tab_darwin.go
+++ b/tab_darwin.go
@@ -24,10 +24,9 @@ func newTab() Tab {
}
func (t *tab) Append(name string, control Control) {
- c := newContainer()
+ c := newContainer(control.resize)
t.tabs = append(t.tabs, c)
control.setParent(c.parent())
- c.resize = control.resize
t.children = append(t.children, control)
cname := C.CString(name)
defer C.free(unsafe.Pointer(cname))