1 Reply Latest reply on Jun 25, 2008 4:36 PM by frjoseph

    truncateToFit / label text issue

    frjoseph Level 1
      Hi all,

      What I want to do is swap the look of the text in a label from the truncated string "blah..." to a full string "blah blah blah" dynamically. I have tried to change the value of the property then call invalidateProperties then invalidateDisplayList but that doesn't work.

      I thought about just swapping the text field on the label with the tooltip text (which holds the full string) and the displayed, truncated, text. I can't find where the truncated text is stored in a label. Is it stored somewhere I can easily access?

      Any thoughts on the best way to solve this problem. I want to show either the truncated text or the full, clipped, text at the flip of a switch. Is that possible?

      Thanks