Oops, uiTab wasn't set up to use BLayout properly. Fixed.

This commit is contained in:
Pietro Gagliardi 2015-11-20 13:56:09 -05:00
parent 82b960e87e
commit 43dad53637
1 changed files with 1 additions and 2 deletions

View File

@ -89,9 +89,8 @@ uiTab *uiNewTab(void)
t = (uiTab *) uiNewControl(uiTabType());
t->tabview = new BTabView(BRect(0, 0, 1, 1), NULL);
t->tabview = new BTabView(NULL, B_WIDTH_FROM_LABEL);
// TODO scrollable
t->tabview->SetTabWidth(B_WIDTH_FROM_LABEL);
t->pages = new vector<struct tabPage>();