mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 267498 - Dialogs cutting off content
Patch contributed by Stephen Walker <sdwalker@myrealbox.com> r/sr=roc@ocallahan.org
This commit is contained in:
parent
b20a43a774
commit
419d22bc83
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user