mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-175235 Drop down menu from a toolbar button should be below the button
This commit is contained in:
@@ -179,7 +179,7 @@ public class ActionButton extends JComponent implements ActionButtonComponent, A
|
||||
}
|
||||
});
|
||||
popupMenu.setDataContextProvider(() -> this.getDataContext());
|
||||
if (ActionPlaces.isToolbarPlace(event.getPlace())) {
|
||||
if (event.isActionToolbar()) {
|
||||
popupMenu.getComponent().show(this, 0, getHeight());
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user