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

c# SetCompatibleTextRenderingDefault must be called before the first -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -

c++ - Fill runtime data at compile time with templates -