Partial fix to bug #3094
git-svn-id: svn://10.0.0.236/trunk@22901 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -303,7 +303,7 @@ nsTextControlFrame::GetDesiredSize(nsIPresContext* aPresContext,
|
||||
|
||||
if (aDesiredLayoutSize.maxElementSize) {
|
||||
aDesiredLayoutSize.maxElementSize->width = minSize.width;
|
||||
aDesiredLayoutSize.maxElementSize->height = minSize.width;
|
||||
aDesiredLayoutSize.maxElementSize->height = minSize.height;
|
||||
}
|
||||
|
||||
aDesiredWidgetSize.width = aDesiredLayoutSize.width;
|
||||
|
||||
@@ -303,7 +303,7 @@ nsTextControlFrame::GetDesiredSize(nsIPresContext* aPresContext,
|
||||
|
||||
if (aDesiredLayoutSize.maxElementSize) {
|
||||
aDesiredLayoutSize.maxElementSize->width = minSize.width;
|
||||
aDesiredLayoutSize.maxElementSize->height = minSize.width;
|
||||
aDesiredLayoutSize.maxElementSize->height = minSize.height;
|
||||
}
|
||||
|
||||
aDesiredWidgetSize.width = aDesiredLayoutSize.width;
|
||||
|
||||
Reference in New Issue
Block a user