diff --git a/pdfsam-gui/src/main/java/org/pdfsam/gui/components/sidebar/VerticalSidebar.java b/pdfsam-gui/src/main/java/org/pdfsam/gui/components/sidebar/VerticalSidebar.java index f673de94..6b7b9a52 100644 --- a/pdfsam-gui/src/main/java/org/pdfsam/gui/components/sidebar/VerticalSidebar.java +++ b/pdfsam-gui/src/main/java/org/pdfsam/gui/components/sidebar/VerticalSidebar.java @@ -64,6 +64,7 @@ public VerticalSidebar(HomeContentItem homeItem, LogButton logButton, NewsButton addButton(homeItem, expandButton); var toolsLabel = new Label(i18n().tr("Tools").toUpperCase()); toolsLabel.getStyleClass().add("sidebar-title"); + toolsLabel.visibleProperty().bind(expandButton.selectedProperty()); buttons.getChildren().addAll(new Separator(Orientation.HORIZONTAL), toolsLabel); tools.getChildren().forEach(b -> { if (b instanceof SidebarButton button) {