Fix batch mode actions not working in small windows

This commit is contained in:
crschnick
2025-06-02 10:27:55 +00:00
parent 6d6f6e0bb7
commit cb8cc2df49
2 changed files with 15 additions and 1 deletions

View File

@@ -48,7 +48,8 @@ public class StoreEntryListStatusBarComp extends SimpleComp {
struc.get().setAlignment(Pos.CENTER);
});
var busy = new SimpleBooleanProperty();
var actions = new ToolbarComp(createActions(busy));
var actions = new HorizontalComp(createActions(busy));
actions.spacing(2);
var close = new IconButtonComp("mdi2c-close", () -> {
StoreViewState.get().getBatchMode().setValue(false);
});

View File

@@ -6,6 +6,19 @@
.store-entry-list-status-bar .button {
-fx-padding: 4 8;
-fx-background-color: transparent;
-fx-border-width: 1;
-fx-border-color: transparent;
-fx-border-radius: 4;
}
.root.nord .store-entry-list-status-bar .button {
-fx-border-radius: 0;
}
.store-entry-list-status-bar .button:hover {
-fx-border-color: -color-border-default;
-fx-border-width: 1;
}
.store-list-comp.scroll-pane * {