mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Darcula: background in password field should behave like in text field
This commit is contained in:
+3
-1
@@ -59,7 +59,9 @@ public class DarculaPasswordFieldUI extends BasicPasswordFieldUI {
|
||||
}
|
||||
final Border border = c.getBorder();
|
||||
if (border instanceof DarculaTextBorder) {
|
||||
g.setColor(c.getBackground());
|
||||
if (c.isEnabled() && c.isEditable()) {
|
||||
g.setColor(c.getBackground());
|
||||
}
|
||||
final int width = c.getWidth();
|
||||
final int height = c.getHeight();
|
||||
final Insets i = border.getBorderInsets(c);
|
||||
|
||||
Reference in New Issue
Block a user