[Mono-bugs] [Bug 361137] MessageBox: not sized to fit long caption

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 20 15:38:48 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=361137

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361137#c2


Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #2 from Jonathan Pobst <jpobst at novell.com>  2008-02-20 13:38:48 MST ---
On Vista, even the first message box cuts off the caption as "mess...", so
there is not an exact science to this.  I changed it to do the "spirit" of
what's going on.  If the caption is larger than the messagebox text, it will
use the caption text plus an arbitrary amount for borders/close button, up to
60% of the screen.

Fixed in r96295.  Thanks for the report Andy!

2008-02-20  Jonathan Pobst  <monkey at jpobst.com>

        * MessageBox.cs: Make the message box wider if the form caption
        is longer than the text in the form.
        [Fixes bug #361137]


-- 
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