[Mono-bugs] [Bug 82468][Nor] New - MessageBox: Layout not correct when icon is displayed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 17 11:06:06 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=82468

--- shadow/82468	2007-08-17 11:06:06.000000000 -0400
+++ shadow/82468.tmp.23036	2007-08-17 11:06:06.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 82468
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MessageBox: Layout not correct when icon is displayed
+
+When an icon is displayed in a MessageBox, then the button overlaps the 
+text.
+
+To reproduce, compile and run the following source code:
+
+using System;
+using System.Globalization;
+using System.Windows.Forms;
+
+class Program
+{
+  static void Main ()
+  {
+    string expected = string.Format (CultureInfo.InvariantCulture,
+      "Expected result on start-up:{0}{0}" +
+      "1. An \"Information\" icon is displayed.{0}{0}" +
+      "2. There's some vertical spacing between the text " +
+      "and the OK button.",
+      Environment.NewLine);
+    MessageBox.Show (expected, "bug #XXXXX", MessageBoxButtons.OK,
+      MessageBoxIcon.Information);
+  }
+}


More information about the mono-bugs mailing list