mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
focus color for arrow button
This commit is contained in:
+2
-1
@@ -129,7 +129,8 @@ public class DarculaComboBoxUI extends BasicComboBoxUI implements Border {
|
||||
}
|
||||
|
||||
protected Color getArrowButtonFillColor(Color defaultColor) {
|
||||
final Color color = UIManager.getColor("ComboBox.darcula.arrowFillColor");
|
||||
final Color color = myComboBox.hasFocus() ? UIManager.getColor("ComboBox.darcula.arrowFocusedFillColor")
|
||||
: UIManager.getColor("ComboBox.darcula.arrowFillColor");
|
||||
return color == null ? defaultColor : comboBox != null && !comboBox.isEnabled() ? UIUtil.getControlColor() : color;
|
||||
}
|
||||
|
||||
|
||||
@@ -105,6 +105,7 @@ ComboBoxUI=com.intellij.ide.ui.laf.darcula.ui.DarculaComboBoxUI
|
||||
ComboBox.disabledBackground=e8e8e8
|
||||
ComboBox.squareButton=false
|
||||
ComboBox.darcula.arrowFillColor=6e9bd5
|
||||
ComboBox.darcula.arrowFocusedFillColor=2d82ed
|
||||
|
||||
RadioButtonUI=com.intellij.ide.ui.laf.darcula.ui.DarculaRadioButtonUI
|
||||
RadioButton.darcula.selectionEnabledColor=444444
|
||||
|
||||
Reference in New Issue
Block a user