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

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -