In alm tests, replace calls to SetInset() with SetInsets().
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
|||||||
float spacing = be_control_look->DefaultItemSpacing();
|
float spacing = be_control_look->DefaultItemSpacing();
|
||||||
BALMLayout* layout = new BALMLayout(spacing);
|
BALMLayout* layout = new BALMLayout(spacing);
|
||||||
SetLayout(layout);
|
SetLayout(layout);
|
||||||
layout->SetInset(spacing);
|
layout->SetInsets(spacing);
|
||||||
|
|
||||||
GroupItem item = GroupItem(button1) | (GroupItem(button2)
|
GroupItem item = GroupItem(button1) | (GroupItem(button2)
|
||||||
/ (GroupItem(button3) | GroupItem(BSpaceLayoutItem::CreateGlue())
|
/ (GroupItem(button3) | GroupItem(BSpaceLayoutItem::CreateGlue())
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public:
|
|||||||
BALMLayout* layout = new BALMLayout(10.);
|
BALMLayout* layout = new BALMLayout(10.);
|
||||||
SetLayout(layout);
|
SetLayout(layout);
|
||||||
|
|
||||||
layout->SetInset(5.);
|
layout->SetInsets(5.);
|
||||||
|
|
||||||
// create extra tabs
|
// create extra tabs
|
||||||
BReference<XTab> x1 = layout->AddXTab();
|
BReference<XTab> x1 = layout->AddXTab();
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ public:
|
|||||||
// create a new BALMLayout and use it for this window
|
// create a new BALMLayout and use it for this window
|
||||||
BALMLayout* layout = new BALMLayout(10);
|
BALMLayout* layout = new BALMLayout(10);
|
||||||
SetLayout(layout);
|
SetLayout(layout);
|
||||||
layout->SetInset(10.);
|
layout->SetInsets(10.);
|
||||||
|
|
||||||
layout->AddView(button1, layout->Left(), layout->Top());
|
layout->AddView(button1, layout->Left(), layout->Top());
|
||||||
layout->AddViewToRight(radioButton);
|
layout->AddViewToRight(radioButton);
|
||||||
|
|||||||
Reference in New Issue
Block a user