From 4445e5ee47ef95d49830f2323a1bc629ee25de0a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 20 Nov 2015 14:00:36 -0500 Subject: [PATCH] More BLayout fixes. --- haiku/tab.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/haiku/tab.cpp b/haiku/tab.cpp index 997cf658..3e13cc7d 100644 --- a/haiku/tab.cpp +++ b/haiku/tab.cpp @@ -47,8 +47,7 @@ void uiTabInsertAt(uiTab *t, const char *name, uintmax_t before, uiControl *c) { struct tabPage p; - p.view = new BView(BRect(0, 0, 1, 1), NULL, - B_FOLLOW_ALL_SIDES, 0); + p.view = new BView(NULL, B_SUPPORTS_LAYOUT); // TODO needed? p.view->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); p.tab = new BTab(p.view);