Moved page 2 out of the tab view for now. The ambiguity still happens! We can more easily debug now.
This commit is contained in:
parent
7d252178b6
commit
d4e7640f5b
|
@ -77,7 +77,7 @@ int main(int argc, char *argv[])
|
|||
uiOnShouldQuit(onShouldQuit, w);
|
||||
|
||||
mainBox = newHorizontalBox();
|
||||
uiWindowSetChild(w, uiControl(mainBox));
|
||||
// uiWindowSetChild(w, uiControl(mainBox));
|
||||
|
||||
mainTab = newTab();
|
||||
uiBoxAppend(mainBox, uiControl(mainTab), 1);
|
||||
|
@ -88,7 +88,8 @@ int main(int argc, char *argv[])
|
|||
makePage1(w);
|
||||
uiTabAppend(mainTab, "Page 1", uiControl(page1));
|
||||
|
||||
uiTabAppend(mainTab, "Page 2", uiControl(page2));
|
||||
// uiTabAppend(mainTab, "Page 2", uiControl(page2));
|
||||
uiWindowSetChild(w, uiControl(page2));
|
||||
|
||||
uiTabAppend(mainTab, "Empty Page", uiControl(uiNewHorizontalBox()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue