mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-158165 ui: fix goto popups preferred size
This commit is contained in:
@@ -459,6 +459,7 @@ public abstract class ChooseByNameBase {
|
||||
});
|
||||
final ActionToolbar actionToolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.UNKNOWN, group, true);
|
||||
actionToolbar.setLayoutPolicy(ActionToolbar.NOWRAP_LAYOUT_POLICY);
|
||||
actionToolbar.updateActionsImmediately(); // we need valid ActionToolbar.getPreferredSize() to calc size of popup
|
||||
final JComponent toolbarComponent = actionToolbar.getComponent();
|
||||
toolbarComponent.setBorder(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user