|
-
Nov 4th, 2011, 12:47 PM
#1
WinForms Labels
I have a project where I need some help with the Winform's label control. I have a label that displays text kinda like a title to something (autosize = false, TextAlignment = MiddleCenter) and whenever the label control isn't wide enough to display the single line of text it tries to auto-wrap it causing half of the text to be chopped off at the top and half of it chopped off at the bottom. I would rather it stay on a single line and cut the text off from the right. Anyway I can do that?
I also have another label (multiple lines of text, autosize = false) in which case I would like a vertical scrollbar to appear when the label isn't tall enough (I would like the text to wrap in this case, which is does do already) do they can scroll to read it all. How do I do that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|