[Mono-winforms-list] Truncated Text Solution for checkboxes and radiobuttons

fevans fevans at harris.com
Fri Nov 7 08:19:20 EST 2008


I had a problem where various winform elements were getting truncated. Labels
and textboxes where not affected, but form elements which had text
attributes "built in" were getting chopped. For example, radio-buttons and
checkboxes have a text-label-attribute.

Searching the forum yielded numerous discussions about "EnableVisualStyles",
and "UseCompatibleTextRendering" , "AutoScaleMode", etc. None of these
solved the problem.

Finally, in desperation and for no logical reason, I changed the "FlatStyle"
to "System". This solved it for me. I suppose this is more a work-around
than solution, but it gets the job done for me, so just wanted to share it.

Runtime: MONO 1.9
OS:  GNU/Linux

-- 
View this message in context: http://www.nabble.com/Truncated-Text-Solution-for-checkboxes-and-radiobuttons-tp20380376p20380376.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list