mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-168273 fix disabled combobox foreground color
This commit is contained in:
@@ -368,6 +368,7 @@ public class MacIntelliJComboBoxUI extends BasicComboBoxUI {
|
||||
Rectangle bounds = rectangleForCurrentValue();
|
||||
|
||||
if ( !comboBox.isEditable() ) {
|
||||
listBox.setForeground(comboBox.isEnabled() ? UIManager.getColor("Label.foreground") : UIManager.getColor("Label.disabledForeground"));
|
||||
paintCurrentValue(g, bounds, comboBox.isPopupVisible());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user