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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user