mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-163037 ui: fix dropdown size in GoTo... popups under HiDPI Linux
See wrapper panel insets in `setAdText()`
follow-up: d7bec27e4c
This commit is contained in:
@@ -1638,7 +1638,7 @@ public class AbstractPopup implements JBPopup {
|
||||
}
|
||||
|
||||
private int getAdComponentHeight() {
|
||||
return myAdComponent != null && myAdComponent.isShowing() ? myAdComponent.getPreferredSize().height + 1 : 0;
|
||||
return myAdComponent != null && myAdComponent.isShowing() ? myAdComponent.getPreferredSize().height + JBUI.scale(1) : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user