Skip to content

Commit f6f64f6

Browse files
committed
CSSTUDIO-3429 Call pane.layout() on the JavaFX Application Thread at a later point in time.
1 parent fce5f18 commit f6f64f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/ByteMonitorRepresentation.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ protected Pane createJFXNode() throws Exception
8383
horizontal = model_widget.propHorizontal().getValue();
8484
addLEDs(pane);
8585
pane.setManaged(false);
86+
Platform.runLater(() -> pane.layout());
87+
8688
return pane;
8789
}
8890

0 commit comments

Comments
 (0)