mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Style fixes
This commit is contained in:
parent
5e90f169b1
commit
2d67443f22
4 changed files with 4 additions and 7 deletions
|
@ -78,7 +78,7 @@ public abstract class DialogComp extends Comp<CompStructure<Region>> {
|
|||
|
||||
@Override
|
||||
public CompStructure<Region> createBase() {
|
||||
var sp = pane(content()).createRegion();
|
||||
var sp = pane(content()).styleClass("dialog-content").createRegion();
|
||||
VBox vbox = new VBox();
|
||||
vbox.getChildren().addAll(sp, createNavigation());
|
||||
vbox.getStyleClass().add("dialog-comp");
|
||||
|
@ -96,7 +96,7 @@ public abstract class DialogComp extends Comp<CompStructure<Region>> {
|
|||
public abstract Comp<?> content();
|
||||
|
||||
protected Comp<?> pane(Comp<?> content) {
|
||||
var entry = content.styleClass("dialog-content");
|
||||
var entry = content;
|
||||
return Comp.of(() -> {
|
||||
var entryR = entry.createRegion();
|
||||
var sp = new ScrollPane(entryR);
|
||||
|
|
|
@ -24,6 +24,3 @@
|
|||
-fx-font-weight: BOLD;
|
||||
}
|
||||
|
||||
.bookmark-list .store-section-mini-comp .item {
|
||||
-fx-padding: 0.1em 0.4em 0.1em 0.4em;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.dialog-comp .scroll-pane {
|
||||
.dialog-comp .dialog-content {
|
||||
-fx-background-color: -color-bg-default;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
}
|
||||
|
||||
.store-section-mini-comp > .children-content {
|
||||
-fx-padding: 5px 0 5px 15px;
|
||||
-fx-padding: 0 0 5px 15px;
|
||||
}
|
||||
|
||||
.store-section-mini-comp:root > .children-content {
|
||||
|
|
Loading…
Reference in a new issue