ActionToolbarImpl (@NotNull ActionGroup group) { ActionToolbarImpl toolbar = (ActionToolbarImpl)ActionManager.getInstance().createActionToolbar(ActionPlaces.EDITOR_TOOLBAR, group, true); toolbar.setTargetComponent(this); toolbar.setLayoutPolicy(ActionToolbar.AUTO_LAYOUT_POLICY); if (ExperimentalUI.isNewUI()) toolbar.setOpaque(false); Utils.setSmallerFontForChildren(toolbar); return toolbar; }