Ultralabel and autosize
New DiscussionThis is what I am trying to accomplish…
I want the ultralable to autosize width up to a maximum, and i want it to autosize height and wrap text.
So I have
myLabel.WrapText=true;
myLabel.AutoSize = true;
myLabel.MaximumSize = (200,0);
This does not work. It only expands the width up to the specified maximum. The label will not grow as necessary in height to display the text. Is there some other way to accomplish this or am I missing something?
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
3 Created On
Oct 02, 2008 Last Post
18 years, 1 month ago