-
February 28th, 2011, 01:31 AM
#1
JscrollPane wont scroll horizontal
Hi,
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.
Why wont it automatically scroll horizontal?
-
February 28th, 2011, 05:20 AM
#2
Re: JscrollPane wont scroll horizontal
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|