changeset 3612:cbcd461067c5

6988168: Press the "Toggle Font" button.The size of the combo box didn't change. Reviewed-by: alexp
author rupashka
date Wed, 02 Feb 2011 18:37:31 +0300
parents 07bea0d4e454
children 6c4b6780ab20
files src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java	Mon Jan 31 21:49:27 2011 +0300
+++ b/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java	Wed Feb 02 18:37:31 2011 +0300
@@ -1721,6 +1721,7 @@
                         editor.setFont( comboBox.getFont() );
                     }
                     isMinimumSizeDirty = true;
+                    isDisplaySizeDirty = true;
                     comboBox.validate();
                 }
                 else if ( propertyName == JComponent.TOOL_TIP_TEXT_KEY ) {