Clean up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38777 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2010-09-22 05:04:36 +00:00
parent a85cd05590
commit 06f960fcf6
2 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,6 @@ public:
button1->SetExplicitMinSize(BSize(0, 0));
button1->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED));
//button1->SetExplicitAlignment(
//BAlignment(B_ALIGN_USE_FULL_WIDTH, B_ALIGN_USE_FULL_HEIGHT));
// create a new BALMLayout and use it for this window
BALMLayout* layout = new BALMLayout();

View File

@ -33,6 +33,8 @@ public:
fLayout->Bottom(), button1);
button1->SetExplicitMinSize(BSize(0, 50));
button1->SetExplicitMaxSize(BSize(500, 500));
button1->SetExplicitAlignment(BAlignment(B_ALIGN_USE_FULL_WIDTH,
B_ALIGN_USE_FULL_HEIGHT));
// test size limits
BSize min = fLayout->MinSize();