Clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38777 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a85cd05590
commit
06f960fcf6
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user