Replaced "maxSize" member if nsReflowState with "availableWidth" and

"availableHeight"


git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-01-05 23:31:18 +00:00
parent c236b76b0c
commit 641be3028f
55 changed files with 475 additions and 485 deletions

View File

@@ -218,7 +218,7 @@ NS_IMETHODIMP nsFileControlFrame::Reflow(nsIPresContext& aPresContext,
NS_RELEASE(browse);
}
nsSize maxSize = aReflowState.maxSize;
nsSize maxSize(aReflowState.availableWidth, aReflowState.availableHeight);
nsHTMLReflowMetrics desiredSize = aDesiredSize;
aDesiredSize.width = CONTROL_SPACING;
aDesiredSize.height = 0;