-
Bug
-
Resolution: Fixed
-
P3
-
8
This works on HTML
<div style="font-size: 26pt;">
<span>Big </span>
<span>Font</span>
</div>
This does not work on JFX
HBox box = new HBox();
box.setStyle("-fx-font-size: 26px");
box.getChildren().add(new Text("Big "));
box.getChildren().add(new Text("Font"));
<div style="font-size: 26pt;">
<span>Big </span>
<span>Font</span>
</div>
This does not work on JFX
HBox box = new HBox();
box.setStyle("-fx-font-size: 26px");
box.getChildren().add(new Text("Big "));
box.getChildren().add(new Text("Font"));