Saturday, 15 June 2013

java - JavaFX 8 TextArea Blurry -



java - JavaFX 8 TextArea Blurry -

i having issue textarea (using javafx 8).

the problem when create textarea text blurry, have looked through other posts , cannot find solution.

i thought maybe me loaded scene builder , created anchor pane textarea , still blurry.

my theory is may bug javafx 8 im not sure have decided ask, here code 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 screenshot app:

and here 1 scene builder:

any help appreciated,

cheers.

java javafx

No comments:

Post a Comment