Bug 267498 - Dialogs cutting off content

Patch contributed by Stephen Walker <sdwalker@myrealbox.com>
r/sr=roc@ocallahan.org
This commit is contained in:
pkw%us.ibm.com 2004-11-03 23:31:17 +00:00
parent b20a43a774
commit 419d22bc83

View File

@ -1041,7 +1041,7 @@ nsSprocketLayout::ChildResized(nsIBox* aBox,
nsSize max(0,0);
nsSize min(0,0);
aChild->GetMaxSize(aState, max);
aChild->GetMinSize(aState, max);
aChild->GetMinSize(aState, min);
nsBox::BoundsCheckMinMax(min, max);
AddMargin(aChild, max);