From cb247316ee709095886e558bf044f2b2e91de076 Mon Sep 17 00:00:00 2001 From: crschnick Date: Sun, 3 Mar 2024 11:23:07 +0000 Subject: [PATCH] Fix validation graphics being in front of everything --- .../java/io/xpipe/app/comp/store/StoreCreationComp.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreCreationComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreCreationComp.java index 4a448051c..ccc333d17 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreCreationComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreCreationComp.java @@ -35,6 +35,7 @@ import javafx.scene.layout.VBox; import javafx.stage.Stage; import lombok.AccessLevel; import lombok.experimental.FieldDefaults; +import net.synedra.validatorfx.GraphicDecorationStackPane; import java.util.List; import java.util.Objects; @@ -397,6 +398,9 @@ public class StoreCreationComp extends DialogComp { var top = new VBox(providerChoice.createRegion(), new Spacer(7, Orientation.VERTICAL), sep); top.getStyleClass().add("top"); layout.setTop(top); - return layout; + + var valSp = new GraphicDecorationStackPane(); + valSp.getChildren().add(layout); + return valSp; } }