Slick Forums

Discuss the Slick 2D Library
It is currently Tue Oct 15, 2019 1:41 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Textarea word wrapping
PostPosted: Mon Aug 19, 2013 9:10 pm 
Offline

Joined: Sat Mar 30, 2013 12:41 am
Posts: 22
Quick question which probably has a simple solution.
How can I let a TextArea with a SimpleTextAreaModel have word wrapping (word on new line instead of jumping in the middle of a word).


Top
 Profile  
 
PostPosted: Mon Aug 19, 2013 9:36 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1242
Disable pre-formatting using the setText(String, boolean) method on SimpleTextAreaModel.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
PostPosted: Mon Aug 19, 2013 10:34 pm 
Offline

Joined: Sat Mar 30, 2013 12:41 am
Posts: 22
Thanks for the quick answer.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group