diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c24686bad..6970275a6b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -174,6 +174,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv - We fixed an issue where long entry previews were cut off without a vertical scrollbar. [#17359](https://github.com/JabRef/jabref/issues/17359) - We fixed an issue where linked files in the entry editor were not updated immediately upon addition or removal. [#16067](https://github.com/JabRef/jabref/issues/16067) - We fixed an issue where the Semantic Scholar API key was ignored when fetching citations and references. [#17291](https://github.com/JabRef/jabref/issues/17291) +- We fixed clipped citation controls and metrics in small windows by adding horizontal scrolling. [#17897](https://github.com/JabRef/jabref/issues/17897) - We fixed API key validation when saving a new or edited key. [#17012](https://github.com/JabRef/jabref/pull/17012) - We fixed an issue where back navigation selected a deleted entry instead of skipping it. [#17353](https://github.com/JabRef/jabref/issues/17353) - We fixed an issue where JabRef asked to store a library's custom entry types at every start. [#9930](https://github.com/JabRef/jabref/issues/9930) diff --git a/jabgui/src/main/java/org/jabref/gui/entryeditor/citationrelationtab/CitationRelationsTab.java b/jabgui/src/main/java/org/jabref/gui/entryeditor/citationrelationtab/CitationRelationsTab.java index ed38507dd74..7da3589436e 100644 --- a/jabgui/src/main/java/org/jabref/gui/entryeditor/citationrelationtab/CitationRelationsTab.java +++ b/jabgui/src/main/java/org/jabref/gui/entryeditor/citationrelationtab/CitationRelationsTab.java @@ -31,6 +31,7 @@ import javafx.scene.control.Label; import javafx.scene.control.MenuItem; import javafx.scene.control.ProgressIndicator; +import javafx.scene.control.ScrollPane; import javafx.scene.control.SplitMenuButton; import javafx.scene.control.SplitPane; import javafx.scene.control.ToggleButton; @@ -848,7 +849,7 @@ protected void bindToEntry(BibEntry entry) { SplitPane splitPane = getPaneAndStartSearch(entry); splitPane.setMaxSize(Double.MAX_VALUE, Double.MAX_VALUE); - splitPane.setMinSize(0, 0); + splitPane.setMinHeight(0); BorderPane root = new BorderPane(); root.setTop(getTopBar()); @@ -856,7 +857,11 @@ protected void bindToEntry(BibEntry entry) { root.setBottom(sciteResultsPane); root.setMaxSize(Double.MAX_VALUE, Double.MAX_VALUE); - setContent(root); + ScrollPane scrollPane = new ScrollPane(root); + scrollPane.setHbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED); + scrollPane.setFitToWidth(true); + scrollPane.setFitToHeight(true); + setContent(scrollPane); } @Override