Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FXML - Line break for text-attribute (LABEL)

J. IshikawaNov 19 2012 — edited Nov 21 2012
Hi!

How to define a text with a line break for a label in FXML?

For example, I cant get this to work (\n):
<Label text="Break\nLine"/> 
Thanks,
Jörn
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2012
Added on Nov 19 2012
4 comments
9,981 views