This content has been marked as final. Show 4 replies
There was a recent thread which asked this question, but I can't find it right now. I think it was shakir.qusaroff who posted the solution:
Do you have any idea why it uses such a weird syntax and doesn't just work as you would expect?
If you use SceneBuilder Developer Preview 1.1 you will see that SceneBuilder generates this:
To enter a new line in a text label in SceneBuilder is easy (even though a bit hidden).
<Label layoutX="266.0" layoutY="172.0" text="Break Line" />
If you hover the mouse over the label text property in the Inspector (right hand side), you will see a little cog menu fading in. If you click on it - you will be able to 'Switch to multi-lines mode' - you can then enter a text with new lines - then save the file and see how it's been handled...
hope this helps,
The tip of Daniel worked!
Thanks alot for all replies!