Skip to content

Commit

Permalink
Fix #11799: Made file renaming dialog resizable and increased its size
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam Kumar Navneet authored and Satyam Kumar Navneet committed Feb 17, 2025
1 parent 2d8a90b commit 54bd076
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/jabref/gui/JabRefDialogService.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public Optional<String> showInputDialogWithDefaultAndWait(String title, String c
inputDialog.setHeaderText(title);
inputDialog.setContentText(content);
inputDialog.initOwner(mainWindow);
inputDialog.getDialogPane().setPrefSize(500, 200); // Set preferred size
inputDialog.setResizable(true);
return inputDialog.showAndWait();
}

Expand Down

0 comments on commit 54bd076

Please sign in to comment.