mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-151765 HiDPI display: small code analysis icons in the editor
This commit is contained in:
@@ -180,7 +180,9 @@ public class HighlightDisplayLevel {
|
||||
@Override
|
||||
public void paintIcon(Component c, Graphics g, int x, int y) {
|
||||
g.setColor(getColor());
|
||||
g.fillRect(x + 2, y + 2, 10, 10);
|
||||
int shift = JBUI.scale(2);
|
||||
int size = JBUI.scale(10);
|
||||
g.fillRect(x + shift, y + shift, size, size);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user