Simplify the Pinwheel demo according to the last commit.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39642 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2010-11-26 04:23:13 +00:00
parent 8fa4fd37b7
commit 81c40be9fc
+2 -5
View File
@@ -45,17 +45,14 @@ public:
YTab* y1 = layout->AddYTab();
YTab* y2 = layout->AddYTab();
Area* a1 = layout->AddView(button1, layout->Left(), layout->Top(), x2,
layout->AddView(button1, layout->Left(), layout->Top(), x2,
y1);
layout->AddView(button2, x2, layout->Top(), layout->Right(), y2);
Area* a3 = layout->AddView(button3, x1, y2, layout->Right(),
layout->AddView(button3, x1, y2, layout->Right(),
layout->Bottom());
layout->AddView(button4, layout->Left(), y1, x1, layout->Bottom());
layout->AddView(textView1, x1, y1, x2, y2);
a1->SetWidthAs(a3);
a1->SetHeightAs(a3);
// alternative setup
/*
layout->AddView(button1);