xml - Javafx fxml file TextArea line break and tab in text -


How to edit

text to `code> textArea ` .fxml file Like I can use the line break and tab . Textarea is predefined and can not be edited.

Images

FXML file

View

If you want to use text directly, You can use:

  & lt; TextArea prefHeight = "200.0" prefWidth = "200.0" text = "$ {'multi \ n line \ tTab'}" / & gt;  

If you want to use in Visual Builder, you can go to multi-line mode.

Enter image details here

Switch to the multi-line mode Doing will include Visual Builder:

  & # 10; \ N & amp; # 9; For \ t  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -