eclipse - Wrap mechanism of TextLayout -


i have custom roundedrectangle figure (org.eclipse.draw2d) contains label textlayout. discovered different mechanism in way text wrapped depending on size. example, in same circumstances (same figure width), text:

"onetextexample --e(506,774,944)"

will wrapped as:

"onetextexample  --e(506,774,944)" 

but when have big number of lines, lets 200 lines same text "onetextexample --e(506,774,944)", each line wrapped as:

onetextexample --e (506,774,944) onetextexample --e (506,774,944) onetextexample --e (506,774,944) .. 

does know different behavior comes , if able somehow control wrapping mechanism used? use in similar circumstances styledtext (org.eclipse.swt.custom) doesn't show difference in wrapping, no matter how many lines of text there are.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -