Skip to content

Commit

Permalink
Fix "Document Viewer: PDF shows only in half of the window size" #10934
Browse files Browse the repository at this point in the history
… (#10961)

* Fix "Document Viewer: PDF shows only in half of the window size" #10934

* move changelog to unreleased
  • Loading branch information
cardionaut authored Mar 2, 2024
1 parent 71a0b62 commit b52c99c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We fixed an issue where the CrossRef field did not work if autocompletion was disabled [#8145](https://github.com/JabRef/jabref/issues/8145)
- We fixed an issue where exporting`@electronic` and `@online` entry types to the Office XMl would duplicate the field `title` [#10807](https://github.com/JabRef/jabref/issues/10807)
- We fixed an issue where the `CommentsTab` was not properly formatted when the `defaultOwner` contained capital or special letters. [#10870](https://github.com/JabRef/jabref/issues/10870)
- We fixed an issue where the Document Viewer would show the PDF in only half the window when maximized. [#10934](https://github.com/JabRef/jabref/issues/10934)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public DocumentViewerView() {

ViewLoader.view(this)
.load()
.setAsContent(this.getDialogPane());
.setAsDialogPane(this);

// Remove button bar at bottom, but add close button to keep the dialog closable by clicking the "x" window symbol
getDialogPane().getButtonTypes().add(ButtonType.CLOSE);
Expand Down

0 comments on commit b52c99c

Please sign in to comment.