In one of my FXML file, I have a text tag that look this
<TextFlow >
<Text text="There are 15 questions standing between you and a million dollar pay day! Each question is presented in multiple choice format. One of the four choices is the correct answer - your job is to pick the right one! The questions become more difficult as you progress through the game, but the potential payoff increases as well! Miss a question and the game is over." id="gameText" fill="white"/>
</TextFlow>
When I tried to do it in multiple lines like this
<TextFlow >
<Text text="There are 15 questions standing between you and a million dollar pay day!
Each question is presented in multiple choice format. One of the four choices is the
correct answer - your job is to pick the right one! The questions become more difficult
as you progress through the game, but the potential payoff increases as well! Miss a
question and the game is over." id="gameText" fill="white"/>
</TextFlow>
My output came out like this with the second method(The text tag with multiple lines)
The text tag that is a single straight line gives me the correct output but I would like to know if there is another way to layout the text correctly using the second method.