In ALM Views test, use explicit AddViews() method.

This commit is contained in:
Alex Wilson 2012-01-12 20:45:36 +00:00
parent fefa17f47e
commit 1be46cf584

View File

@ -58,7 +58,7 @@ public:
SetLayout(layout); SetLayout(layout);
layout->SetInset(10.); layout->SetInset(10.);
layout->AddView(button1); layout->AddView(button1, layout->Left(), layout->Top());
layout->AddViewToRight(radioButton); layout->AddViewToRight(radioButton);
layout->AddItemToRight(BSpaceLayoutItem::CreateGlue()); layout->AddItemToRight(BSpaceLayoutItem::CreateGlue());
Area* a3 = layout->AddViewToRight(button3); Area* a3 = layout->AddViewToRight(button3);