@Override
  protected int getMinimumHeight(int textHeight) {
    JComponent c = getComponent();
    if (DarculaEditorTextFieldBorder.isComboBoxEditor(c) ||
        ComponentUtil.getParentOfType((Class<? extends JSpinner>)JSpinner.class, (Component)c) != null ||
        ClientProperty.isTrue(c, "TextField.NoMinHeightBounds")) {
      return textHeight;
    }

    Insets i = getComponent().getInsets();
    return (isCompact(c) ? COMPACT_HEIGHT.get() : JBUI.CurrentTheme.TextField.minimumSize().height)+ i.top + i.bottom;
  }
@Override
  protected int getMinimumHeight(int textHeight)