@Override
  protected Dimension getDarculaButtonSize(JComponent c, Dimension prefSize) {
    Dimension size = super.getDarculaButtonSize(c, prefSize);
    if (!(c instanceof ComboBoxAction.ComboBoxButton button)) return size;

    if (button.isArrowVisible())
      size.width += ((AbstractButton)c).getIconTextGap() + EXPAND_ICON.getIconWidth();

    JBInsets.addTo(size, button.getMargin());
    size.height = Integer.min(size.height, JBUI.CurrentTheme.Toolbar.experimentalToolbarButtonSize().height);
    return size;
  }
@Override
  protected Dimension getDarculaButtonSize(JComponent c, Dimension prefSize)