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:
parent
8bbce28359
commit
bf5d40704e
@ -623,7 +623,7 @@ Area::_Init(LinearSpec* ls, XTab* left, YTab* top, XTab* right, YTab* bottom,
|
||||
fConstraints.AddItem(fMinContentHeight);
|
||||
|
||||
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());
|
||||
|
||||
fPreferredContentHeight = fLS->AddConstraint(-1.0, fTop, 1.0, fBottom, -1.0,
|
||||
|
Loading…
Reference in New Issue
Block a user