Hi,
I have some code to add text to a Label page element that works fine.
Occasionally the text that goes in the label has a dash (-) character in it and the text is too long for the label
(e.g. 'thisissomelonetexthereisadash-andthisnowwillgetwrapped').
Without the dash the Label just clips the excess text which is fine for my purposes. But when there is a dash I think it is wrapping the text to the next line, but the label is not (and shouldn't be) higher than 1 line in height.
Is there a property to turn the wrapping off?
Thanks.
Label Text Wrapping
Re: Label Text Wrapping
Support · Jun 18, 2015Hello,
The behavior you are seeing is desired. A dash will cause the line to wrap. This is a common behavior in most of the text editors. There is no property available in the API that would allow you to disable wrapping. If you increase the label height you will see all the text that is wrapped.
Thanks,
ceTe Software Support Team.