mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-18 13:38:57 -04:00
Improve browser overview style
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user