More BLayout fixes.
This commit is contained in:
parent
43dad53637
commit
4445e5ee47
|
@ -47,8 +47,7 @@ void uiTabInsertAt(uiTab *t, const char *name, uintmax_t before, uiControl *c)
|
||||||
{
|
{
|
||||||
struct tabPage p;
|
struct tabPage p;
|
||||||
|
|
||||||
p.view = new BView(BRect(0, 0, 1, 1), NULL,
|
p.view = new BView(NULL, B_SUPPORTS_LAYOUT);
|
||||||
B_FOLLOW_ALL_SIDES, 0);
|
|
||||||
// TODO needed?
|
// TODO needed?
|
||||||
p.view->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
p.view->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||||
p.tab = new BTab(p.view);
|
p.tab = new BTab(p.view);
|
||||||
|
|
Loading…
Reference in New Issue