[Mono-bugs] [Bug 80207][Nor] Changed - ListView ColumnHeader has wrong height when Width is -1 or -2

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 2 15:19:46 EST 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 georgegiolfan at yahoo.com.

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

--- shadow/80207	2007-01-02 13:10:05.000000000 -0500
+++ shadow/80207.tmp.9453	2007-01-02 15:19:46.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 80207
 Product: Mono: Class Libraries
 Version: 1.2
 OS: Windows XP
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: mkestner at ximian.com                            
 ReportedBy: georgegiolfan at yahoo.com               
 QAContact: mono-bugs at ximian.com
@@ -71,6 +71,23 @@
 Created an attachment (id=18420)
 Proposed patch
 
 
 ------- Additional Comments From mkestner at ximian.com  2007-01-02 13:10 -------
 Committed your patch on revision 70369.  Thanks.
+
+------- Additional Comments From georgegiolfan at yahoo.com  2007-01-02 15:19 -------
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        ListView l = new ListView();
+        l.View = View.Details;
+        ColumnHeader c = new ColumnHeader();
+        l.Columns.Add(c);
+        l.Items.Add("Very long text ...............................");
+        c.Width = -2;
+        Controls.Add(l);
+    }
+}


More information about the mono-bugs mailing list