Skip to content

Commit

Permalink
ScrollPane blur also for Embedded Display
Browse files Browse the repository at this point in the history
  • Loading branch information
georgweiss committed Nov 13, 2023
1 parent fcffc98 commit caf4689
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit caf4689

Please sign in to comment.