diff --git a/.idea/runConfigurations/JabRef_Main.xml b/.idea/runConfigurations/JabRef_Main.xml index 048f2dd8126..70f04ee246c 100644 --- a/.idea/runConfigurations/JabRef_Main.xml +++ b/.idea/runConfigurations/JabRef_Main.xml @@ -2,11 +2,11 @@ - + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 26772b56e43..cb60b9aa838 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# - We fixed an issue where notifications where shown during autosave. [#5555](https://github.com/JabRef/jabref/issues/5555) - We fixed an issue where the side pane was not remembering its position. [#5615](https://github.com/JabRef/jabref/issues/5615) - We fixed an issue where JabRef could not interact with [Oracle XE](https://www.oracle.com/de/database/technologies/appdev/xe.html) in the [shared SQL database setup](https://docs.jabref.org/collaborative-work/sqldatabase). +- We fixed an issue where the toolbar icons were hidden on smaller screens. ### Removed diff --git a/src/main/java/org/jabref/gui/JabRefFrame.java b/src/main/java/org/jabref/gui/JabRefFrame.java index 93337ecb5ef..39c5c3c72b3 100644 --- a/src/main/java/org/jabref/gui/JabRefFrame.java +++ b/src/main/java/org/jabref/gui/JabRefFrame.java @@ -422,8 +422,6 @@ public void changed(ObservableValue observable, Boolean oldVa EasyBind.subscribe(sidePane.visibleProperty(), visible -> { if (visible) { - // Run SplitPane.setResizableWithParent later to avoid miscalculation during initial layouting - Platform.runLater(() -> SplitPane.setResizableWithParent(sidePane, Boolean.FALSE)); if (!splitPane.getItems().contains(sidePane)) { splitPane.getItems().add(0, sidePane); setDividerPosition(); @@ -452,6 +450,7 @@ private void setDividerPosition() { private Node createToolbar() { Pane leftSpacer = new Pane(); + leftSpacer.setMinWidth(50); HBox.setHgrow(leftSpacer, Priority.SOMETIMES); Pane rightSpacer = new Pane(); HBox.setHgrow(rightSpacer, Priority.SOMETIMES); @@ -471,9 +470,6 @@ private Node createToolbar() { factory.createIconButton(StandardActions.SAVE_LIBRARY, new OldDatabaseCommandWrapper(Actions.SAVE, this, stateManager)), leftSpacer ); - leftSide.setMinWidth(100); - leftSide.prefWidthProperty().bind(sidePane.widthProperty()); - leftSide.maxWidthProperty().bind(sidePane.widthProperty()); final PushToApplicationAction pushToApplicationAction = getPushToApplicationsManager().getPushToApplicationAction(); final Button pushToApplicationButton = factory.createIconButton(pushToApplicationAction.getActionInformation(), pushToApplicationAction);