I have a textbox placed inside a scroll pane which I need to scroll horizontally once the end of the box is reached and only go on a new line when I tell it to
The scroll pane works fine vertically, adding a scroll bar once the bottom of the box has been reached but i cant get it to add the horizontal one. It just automatically puts the text onto a new line was it reaches the edge of the text box.
It's probably because the text component you are using to display the text is set to wrap the text and it's width is the same as the scroll pane display area's width.
Bookmarks