I am having a an issue with a TextArea (using JavaFX 8).
The problem is that when I create a TextArea the text is blurry, I have looked through other posts and cannot find a solution.
I thought maybe it is me so I loaded up Scene Builder and created an anchor pane with a TextArea and this still is blurry.
My theory is that is may be a bug with JavaFX 8 but im not too sure so I have decided to ask, here is the code I use:
SplitPane splitPane = new SplitPane();
VBox vbox = new VBox();
HBox hbox = new HBox();
TextArea note = new TextArea();
note.setPrefHeight(100);
vbox.setPadding(new Insets(0, 10, 0, 10));
hbox.setPadding(new Insets(10, 0, 10, 0));
hbox.setSpacing(8);
splitPane.setPrefSize(1024, 300);
splitPane.setOrientation(Orientation.HORIZONTAL);
splitPane.setDividerPosition(0, 0.7);
hbox.getChildren().add(new TextField());
hbox.getChildren().add(new TextField());
hbox.getChildren().add(new TextField());
vbox.getChildren().add(hbox);
vbox.getChildren().add(note);
splitPane.getItems().addAll(vbox, new TextArea());
accountNotesPane.getChildren().add(splitPane);
accountNotesPane.setTopAnchor(splitPane, 10.0);
accountNotesPane.setLeftAnchor(splitPane, 10.0);
accountNotesPane.setRightAnchor(splitPane, 10.0);
accountNotesPane.setBottomAnchor(splitPane, 10.0);
Here is Screenshot from my app:
And here is one from Scene Builder:
Any help would be greatly appreciated,
Cheers.