[Mono-bugs] [Bug 343364] MessageBox: Show() does not display OK button for large message
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Nov 23 00:30:12 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=343364#c3
--- Comment #3 from Everaldo Canuto <ecanuto at novell.com> 2007-11-22 22:30:11 MST ---
Created an attachment (id=184474)
--> (https://bugzilla.novell.com/attachment.cgi?id=184474)
Alternative solution
Your patch looks to be very complex, a better and more simple approach is to
use parameter width of TextRenderer.MeasureString, this patch use it, with one
line of code we can calculate mas size based on 60% of screen width.
This patch also need more changes to draw text correct, for this I will attach
a final patch. Probably we will need to use a Rectangle parameter in DrawString
to limit the width area when drawing text. Patch coming soon.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list