Labels are behaving funny
-
Hi guys, I am developing using .net 2005. The label text on some of my controls (labels, radio buttons and checkboxes) on a single particular form in my project is not showing the last character. e.g. one checkbox control is supposed to show the following text: "
Separate source files from XML
" its being shown as "Separate source files from XM
" another radiobutton control is supposed to show: "Absolute Path
" instead the output is "Absolute Pat
" This is happening on different controls in different positions on the form. I tested it on a client machine and the problem also came up there. how can i teach my application to spell correctly? Thanks for your assistance... Regards :mad::mad: -
Hi guys, I am developing using .net 2005. The label text on some of my controls (labels, radio buttons and checkboxes) on a single particular form in my project is not showing the last character. e.g. one checkbox control is supposed to show the following text: "
Separate source files from XML
" its being shown as "Separate source files from XM
" another radiobutton control is supposed to show: "Absolute Path
" instead the output is "Absolute Pat
" This is happening on different controls in different positions on the form. I tested it on a client machine and the problem also came up there. how can i teach my application to spell correctly? Thanks for your assistance... Regards :mad::mad:Hi, Label.AutoSize property "When this property is set to true, the Label adjusts its width to display its entire contents. This property is typically set to true when you use a Label control to display various lengths of text, such as the status of an application process. You can also use this property when the application will display text in various languages, and the size of the text might increase or decrease based on the language settings in Windows." If AutoSize is false, you must allow for sufficient Size. Hope this helps.
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips: - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use PRE tags to preserve formatting when showing multi-line code snippets