In alm tests, replace calls to SetInset() with SetInsets().

This commit is contained in:
Alex Wilson
2012-05-03 08:44:18 +12:00
parent 75e2dcf8fe
commit 9b0221fd43
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ public:
float spacing = be_control_look->DefaultItemSpacing();
BALMLayout* layout = new BALMLayout(spacing);
SetLayout(layout);
layout->SetInset(spacing);
layout->SetInsets(spacing);
GroupItem item = GroupItem(button1) | (GroupItem(button2)
/ (GroupItem(button3) | GroupItem(BSpaceLayoutItem::CreateGlue())
+1 -1
View File
@@ -37,7 +37,7 @@ public:
BALMLayout* layout = new BALMLayout(10.);
SetLayout(layout);
layout->SetInset(5.);
layout->SetInsets(5.);
// create extra tabs
BReference<XTab> x1 = layout->AddXTab();
+1 -1
View File
@@ -56,7 +56,7 @@ public:
// create a new BALMLayout and use it for this window
BALMLayout* layout = new BALMLayout(10);
SetLayout(layout);
layout->SetInset(10.);
layout->SetInsets(10.);
layout->AddView(button1, layout->Left(), layout->Top());
layout->AddViewToRight(radioButton);