Skip to content

Commit

Permalink
make alert dialogs resizable
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Jul 18, 2023
1 parent 7bb2241 commit ac7a964
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public Optional<ButtonType> showAlert(String title, String content, Alert.AlertT
alert.getDialogPane().setPrefHeight(200 + numLines * 20);
}

alert.setResizable(true);

moveToActiveWindowScreen(alert);
return alert.showAndWait();
}
Expand Down

0 comments on commit ac7a964

Please sign in to comment.