This is a migrated thread and some comments may be shown as answers.

multiline label

1 Answer 222 Views
This is a migrated thread and some comments may be shown as answers.
ewart
Top achievements
Rank 1
ewart asked on 03 Mar 2008, 09:48 PM
I feel stupid for asking but anyone know how to make a RadLabel multiline?

when I set MaximumSize.Width on an ordinary microsoft label my text wraps and all is well.  on the RadLabel not such joy.

regards
ewart.

1 Answer, 1 is accepted

Sort by
0
Angel
Telerik team
answered on 04 Mar 2008, 09:05 AM
Hi ewart,

Thank you for bringing this to our attention: our label's MaximumSize.Width does not work the same as Microsoft's label. Here is how you can achieve the wanted behavior until we implement that functionality:
  1. Set the property AutoSize to false.
  2. Set the Size to a size that shows the text in a way you need. You will have to set both width and height since there will be no automatic height calculation.

Your points have been updated for noticing this.

Regards,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Label
Asked by
ewart
Top achievements
Rank 1
Answers by
Angel
Telerik team
Share this question
or