6988168: Press the "Toggle Font" button.The size of the combo box didn't change

Reviewed-by: alexp
This commit is contained in:
Pavel Porvatov 2011-02-02 18:37:31 +03:00
parent a09ca04b62
commit 069ec3aa00

View File

@ -1721,6 +1721,7 @@ public class BasicComboBoxUI extends ComboBoxUI {
editor.setFont( comboBox.getFont() );
}
isMinimumSizeDirty = true;
isDisplaySizeDirty = true;
comboBox.validate();
}
else if ( propertyName == JComponent.TOOL_TIP_TEXT_KEY ) {