int (int textHeight) { Insets i = getComponent().getInsets(); Component c = getComponent(); return DarculaEditorTextFieldBorder.isComboBoxEditor(c) || ComponentUtil.getParentOfType((Class<? extends JSpinner>)JSpinner.class, c) != null || isCompact(c) ? textHeight : MINIMUM_HEIGHT.get() + i.top + i.bottom; }