mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-65266 Pressing Ctrl+P hid text under cursor + other hint fixes - 2
This commit is contained in:
@@ -313,11 +313,9 @@ class ParameterInfoComponent extends JPanel{
|
||||
Dimension normalPreferredSize = super.getPreferredSize();
|
||||
|
||||
// some fonts (for example, Arial Black Cursiva) have NORMAL characters wider than BOLD characters
|
||||
Dimension d = new Dimension(Math.max(boldPreferredSize.width, normalPreferredSize.width),
|
||||
Math.max(boldPreferredSize.height, normalPreferredSize.height));
|
||||
|
||||
System.out.println("d = " + d);
|
||||
return d;
|
||||
return new Dimension(Math.max(boldPreferredSize.width, normalPreferredSize.width),
|
||||
Math.max(boldPreferredSize.height, normalPreferredSize.height));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user