Improve browser overview style

This commit is contained in:
crschnick
2026-04-01 18:02:20 +00:00
parent 172296772b
commit d0f7b4beb5
2 changed files with 7 additions and 2 deletions

View File

@@ -64,9 +64,10 @@ public class BrowserOverviewComp extends SimpleRegionBuilder {
ErrorEventFactory.fromThrowable(e).expected().omit().handle();
}
});
var commonOverview = new BrowserFileOverviewComp(model, commonPlatform, false);
var commonOverview = new BrowserFileOverviewComp(model, commonPlatform, true);
commonOverview.minHeight(160);
var commonPane = new SimpleTitledPaneComp(AppI18n.observable("common"), commonOverview, false)
.apply(struc -> VBox.setVgrow(struc, Priority.NEVER));
.apply(struc -> VBox.setVgrow(struc, Priority.ALWAYS));
commonPane.hide(Bindings.isEmpty(commonPlatform));
list.add(commonPane);

View File

@@ -221,6 +221,10 @@
-fx-border-width: 0;
}
.browser .overview .simple-titled-pane-comp > .content {
-fx-padding: 0 2 4 4;
}
.browser .overview-file-list .button {
-fx-border-width: 0;
-fx-background-radius: 0;