Fix bug spotted by Christian Lippka, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39676 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -623,7 +623,7 @@ Area::_Init(LinearSpec* ls, XTab* left, YTab* top, XTab* right, YTab* bottom,
|
|||||||
fConstraints.AddItem(fMinContentHeight);
|
fConstraints.AddItem(fMinContentHeight);
|
||||||
|
|
||||||
fPreferredContentWidth = fLS->AddConstraint(-1.0, fLeft, 1.0, fRight, -1.0,
|
fPreferredContentWidth = fLS->AddConstraint(-1.0, fLeft, 1.0, fRight, -1.0,
|
||||||
fScaleWidth, OperatorType(EQ), 0, fShrinkPenalties.Height(),
|
fScaleWidth, OperatorType(EQ), 0, fShrinkPenalties.Width(),
|
||||||
fGrowPenalties.Width());
|
fGrowPenalties.Width());
|
||||||
|
|
||||||
fPreferredContentHeight = fLS->AddConstraint(-1.0, fTop, 1.0, fBottom, -1.0,
|
fPreferredContentHeight = fLS->AddConstraint(-1.0, fTop, 1.0, fBottom, -1.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user