From bf5d40704edc56d88aa26fa6fb63e7c2895f50e8 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Mon, 29 Nov 2010 20:12:22 +0000 Subject: [PATCH] Fix bug spotted by Christian Lippka, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39676 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/libs/alm/Area.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/alm/Area.cpp b/src/libs/alm/Area.cpp index 398adfc10c..1a6eda833d 100644 --- a/src/libs/alm/Area.cpp +++ b/src/libs/alm/Area.cpp @@ -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,