draw2d icon indicating copy to clipboard operation
draw2d copied to clipboard

Text Wrapping

Open wiless opened this issue 9 years ago • 2 comments

How do we do text wrapping ?

thanks

wiless avatar Mar 27 '16 09:03 wiless

There's no support today in draw2d to do text wrapping. But you can implement your own text wrapping by using the length of a string.

-- Laurent.

On 27 March 2016 at 11:33, wiless [email protected] wrote:

How do we do text wrapping ?

thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/llgcode/draw2d/issues/99

llgcode avatar Mar 29 '16 19:03 llgcode

I managed, using bounding rectangle sizes for each word of the string.

wiless avatar Mar 30 '16 02:03 wiless