mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-193051 New SE: Correct the size and indents for buttons
This commit is contained in:
+3
-1
@@ -374,15 +374,17 @@ public class SearchEverywhereUI extends BorderLayoutPanel implements Disposable,
|
||||
res.setOpaque(false);
|
||||
|
||||
res.add(myNonProjectCB);
|
||||
res.add(Box.createHorizontalStrut(JBUI.scale(19)));
|
||||
|
||||
DefaultActionGroup actionGroup = new DefaultActionGroup();
|
||||
actionGroup.addAction(new ShowInFindToolWindowAction());
|
||||
actionGroup.addAction(new ShowFilterAction());
|
||||
|
||||
ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar("search.everywhere.toolbar", actionGroup, true);
|
||||
toolbar.setLayoutPolicy(ActionToolbar.NOWRAP_LAYOUT_POLICY);
|
||||
toolbar.updateActionsImmediately();
|
||||
JComponent toolbarComponent = toolbar.getComponent();
|
||||
toolbarComponent.setOpaque(false);
|
||||
toolbarComponent.setBorder(JBUI.Borders.empty(2, 18, 2, 9));
|
||||
res.add(toolbarComponent);
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user