Skip to content

Commit

Permalink
enabled reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
ItoroD committed Mar 30, 2024
1 parent 0976cf0 commit 9a3a3d6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public MaterialTextField(@Nullable String description, @Nullable String prompt,
errorLabel.getStyleClass().add("material-text-field-help");
errorLabel.setMouseTransparent(true);

getChildren().addAll(bg, line, selectionLine, descriptionLabel, textInputControl, iconButton, helpLabel,errorLabel);
getChildren().addAll(bg, line, selectionLine, descriptionLabel, textInputControl, iconButton, helpLabel, errorLabel);

widthProperty().addListener(new WeakReference<ChangeListener<Number>>((observable, oldValue, newValue) ->
onWidthChanged((double) newValue)).get());
Expand Down Expand Up @@ -560,9 +560,9 @@ protected double getFieldLayoutY() {
protected double computeMinHeight(double width) {
if (helpLabel.isManaged()) {
return helpLabel.getLayoutY() + helpLabel.getHeight();
} else if(errorLabel.isManaged()){
} else if (errorLabel.isManaged()) {
return errorLabel.getLayoutY() + errorLabel.getHeight();
}else{
} else {
return getBgHeight();
}
}
Expand Down

0 comments on commit 9a3a3d6

Please sign in to comment.