ComboBoxButton (@NotNull Presentation presentation) { if (myShowDisabledActions) { return new ComboBoxButton(presentation) { @Override protected @NotNull JBPopup createPopup(Runnable onDispose) { DataContext context = getDataContext(); ListPopup popup = JBPopupFactory.getInstance().createActionGroupPopup( null, createPopupActionGroup(this, context), context, true, onDispose, getMaxRows()); popup.setMinimumSize(new Dimension(getMinWidth(), getMinHeight())); return popup; } }; } return super.createComboBoxButton(presentation); }