Skip to content

Commit

Permalink
Fix #11799: Resolved file renaming dialog issue and made it resizable (
Browse files Browse the repository at this point in the history
…#12518)

* Fix #11799: Made file renaming dialog resizable and increased its size

* Fix dialog issue and update CHANGELOG.md

* Fix: made dialog resizable and cleaned up comments

---------

Co-authored-by: Satyam Kumar Navneet <[email protected]>
  • Loading branch information
Satyamkumarnavneet and Satyam Kumar Navneet authored Feb 19, 2025
1 parent 3a8cba4 commit 800d44d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv

### Fixed

- We fixed an issue where the file renaming dialog was not resizable and its size was too small for long file names. [#12518](https://github.com/JabRef/jabref/pull/12518)
- We fixed an issue where the name of the untitled database was shown as a blank space in the right-click context menu's "Copy to" option. [#12459](https://github.com/JabRef/jabref/pull/12459)
- We fixed an issue where the F3 shortcut key did not work without opening the right-click context menu. [#12417](https://github.com/JabRef/jabref/pull/12417)
- We fixed an issue where a bib file with UFF-8 charset was wrongly loaded with a different charset [forum#5369](https://discourse.jabref.org/t/jabref-5-15-opens-bib-files-with-shift-jis-encoding-instead-of-utf-8/5369/)
Expand Down
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);
inputDialog.setResizable(true);
return inputDialog.showAndWait();
}

Expand Down

0 comments on commit 800d44d

Please sign in to comment.