Fix ALM test.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39830 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2010-12-13 18:52:41 +00:00
parent 5440f6fee3
commit b1f9962bae

View File

@ -20,6 +20,9 @@
#include "ALMLayout.h"
using namespace LinearProgramming;
class ViewsWindow : public BWindow {
public:
ViewsWindow(BRect frame)
@ -78,7 +81,7 @@ public:
layout->AddItemToRight(BSpaceLayoutItem::CreateGlue(), layout->Right());
layout->Solver()->AddConstraint(2, layout->TopOf(menu1), -1,
layout->Bottom(), OperatorType(EQ), 0);
layout->Bottom(), OperatorType(kEQ), 0);
// test size limits
BSize min = layout->MinSize();