Fix ALM test.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39830 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
#include "ALMLayout.h"
|
#include "ALMLayout.h"
|
||||||
|
|
||||||
|
|
||||||
|
using namespace LinearProgramming;
|
||||||
|
|
||||||
|
|
||||||
class ViewsWindow : public BWindow {
|
class ViewsWindow : public BWindow {
|
||||||
public:
|
public:
|
||||||
ViewsWindow(BRect frame)
|
ViewsWindow(BRect frame)
|
||||||
@@ -78,7 +81,7 @@ public:
|
|||||||
layout->AddItemToRight(BSpaceLayoutItem::CreateGlue(), layout->Right());
|
layout->AddItemToRight(BSpaceLayoutItem::CreateGlue(), layout->Right());
|
||||||
|
|
||||||
layout->Solver()->AddConstraint(2, layout->TopOf(menu1), -1,
|
layout->Solver()->AddConstraint(2, layout->TopOf(menu1), -1,
|
||||||
layout->Bottom(), OperatorType(EQ), 0);
|
layout->Bottom(), OperatorType(kEQ), 0);
|
||||||
|
|
||||||
// test size limits
|
// test size limits
|
||||||
BSize min = layout->MinSize();
|
BSize min = layout->MinSize();
|
||||||
|
|||||||
Reference in New Issue
Block a user