Bug 16374 - MessageBox text width fails to adequately account for icon width
Summary: MessageBox text width fails to adequately account for icon width
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 2.10.x
Hardware: PC Linux
: Lowest normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-11-20 18:00 UTC by Stephen McConnel
Modified: 2014-05-15 17:26 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
I'm attaching a proposed patch that fixes this problem. (1.01 KB, patch)
2013-11-20 18:00 UTC, Stephen McConnel
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Stephen McConnel 2013-11-20 18:00:27 UTC
Created attachment 5489 [details]
I'm attaching a proposed patch that fixes this problem.

If the text barely fits within the original max_width value, displaying an icon in the MessageBox can cause the text to be truncated when it should be wrapped to another line.
Comment 1 Miguel de Icaza [MSFT] 2014-02-12 17:27:03 UTC
Setting priority to lowest, since Windows.Forms is no longer being developed actively.
Comment 2 eb1 2014-03-10 11:55:17 UTC
Fixed in pull request #942.
Comment 3 Miguel de Icaza [MSFT] 2014-05-15 17:26:50 UTC
Merged