From caf4689478de2f9c2c12b20e5d8fd3e2aa063c5c Mon Sep 17 00:00:00 2001 From: georgweiss Date: Mon, 13 Nov 2023 15:14:34 +0100 Subject: [PATCH] ScrollPane blur also for Embedded Display --- .../javafx/widgets/EmbeddedDisplayRepresentation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/EmbeddedDisplayRepresentation.java b/app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/EmbeddedDisplayRepresentation.java index 2e63311964..e6b032542d 100644 --- a/app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/EmbeddedDisplayRepresentation.java +++ b/app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/EmbeddedDisplayRepresentation.java @@ -40,6 +40,7 @@ import javafx.scene.paint.Stop; import javafx.scene.shape.Rectangle; import javafx.scene.transform.Scale; +import org.phoebus.ui.javafx.NonCachingScrollPane; /** Creates JavaFX item for model widget * @@ -143,7 +144,7 @@ public Pane createJFXNode() throws Exception inner = new Pane(); inner.getTransforms().add(zoom = new Scale()); - scroll = new ScrollPane(inner); + scroll = new NonCachingScrollPane(inner); scroll.setHbarPolicy(ScrollBarPolicy.AS_NEEDED); scroll.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); // By default it seems that the minimum size is set to 36x36.