diff --git a/darwin/tab.m b/darwin/tab.m index 14cf44c0..b711168a 100644 --- a/darwin/tab.m +++ b/darwin/tab.m @@ -86,6 +86,7 @@ void uiTabInsertAt(uiTab *t, const char *name, uintmax_t n, uiControl *child) childView = (NSView *) uiControlHandle(child); view = [[NSView alloc] initWithFrame:NSZeroRect]; + // TODO if we turn off the autoresizing mask, nothing shows up; didn't this get documented somewhere? [view addSubview:childView]; [t->pages insertObject:[NSValue valueWithPointer:child] atIndex:n];