1 Reply Latest reply on Aug 5, 2008 8:24 AM by M. Regert

    Wrapping text in a Label

    pat_ditto
      I am using the Label control and its maxWidth property to stop text, in a VBox, from causing horizontal scroll bars to appear.

      This works well in that the text is truncated and ends with ellippsis "...". The trouble is i want wrapping too.

      Rather than

      "My really rea....."

      I want

      "My really really
      really really lo..."

      I have tried setting a maxHeight on the label but I cannot get it to wrap.

      Any thoughts?

      TIA

      Pat Long