06-22-2011 09:39 AM
I just updated my SDK and Simulator to the latest versions (and also moved my projects to a new computer at the same time, although I don't think it's the issue), and now I'm having issues with label text in three of my apps. Most (but not all, which is baffling me) of my text, which are displayed as Labels in scrollers, are showing up as "...". If I scroll, I can see that the height is still set, but just the text itself is not showing up.
These were all working previously and are released apps, this problem just started with the new SDK and simulator. Is anybody else having this problem?
Solved! Go to Solution.
06-22-2011 09:58 AM
Note in the release notes the addition of the new truncationMode property on Label and LabelButton. With this set to TextTruncationMode.TRUNCATE_TAIL it will clip anything that doesn't fit and insert "..." on the end of the visible portion, while TextTruncationMode.CLIP will do the old behaviour.
Unfortunately and unwisely (I think), they've chosen to make the new behaviour the default, so you'll have to go in and put label.truncationMode = TextTruncationMode.CLIP on all the things that this is happening to, or fix up the dimensions of the object so it doesn't think it needs to truncate it.