Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()

and HaveFixedContentHeight()
This commit is contained in:
troy@netscape.com
1998-11-01 01:29:00 +00:00
parent fd868ac04f
commit d53f9c0403
32 changed files with 129 additions and 169 deletions

View File

@@ -650,10 +650,10 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext& aPresContext,
}
// if we are constrained and the child is smaller, use the constrained values
if (aReflowState.HaveConstrainedWidth() && (aDesiredSize.width < aReflowState.minWidth)) {
if (aReflowState.HaveFixedContentWidth() && (aDesiredSize.width < aReflowState.minWidth)) {
aDesiredSize.width = aReflowState.minWidth;
}
if (aReflowState.HaveConstrainedHeight() && (aDesiredSize.height < aReflowState.minHeight)) {
if (aReflowState.HaveFixedContentHeight() && (aDesiredSize.height < aReflowState.minHeight)) {
aDesiredSize.height = aReflowState.minHeight;
}