public static void setPreferredWidthToFitText(@NotNull JTextField textField) {
    setPreferredWidthToFitText(textField, JBUIScale.scale(15));
  }
public static void setPreferredWidthToFitText(@NotNull JTextField textField)