mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-169661 Git branches popup appears with its right part out of visible screen area
This commit is contained in:
@@ -309,6 +309,9 @@ public abstract class WizardPopup extends AbstractPopup implements ActionListene
|
||||
|
||||
@Override
|
||||
public Dimension getPreferredSize() {
|
||||
if (isPreferredSizeSet()) {
|
||||
return super.getPreferredSize();
|
||||
}
|
||||
final Component focusOwner = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner();
|
||||
Point p = null;
|
||||
if (focusOwner != null && focusOwner.isShowing()) {
|
||||
|
||||
Reference in New Issue
Block a user