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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80207 --- shadow/80207 2007-01-02 15:51:34.000000000 -0500 +++ shadow/80207.tmp.10907 2007-01-02 16:49:22.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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] @@ -105,6 +105,28 @@ ------- Additional Comments From [EMAIL PROTECTED] 2007-01-02 15:26 ------- Still noticed that column header is still one pixel off if Width is - 2. See attached repro. ------- Additional Comments From [EMAIL PROTECTED] 2007-01-02 15:51 ------- revision 70379 + +------- Additional Comments From [EMAIL PROTECTED] 2007-01-02 16:49 ------- +Shorter version of the 18429 atachment. +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 c1 = new ColumnHeader(); + ColumnHeader c2 = new ColumnHeader(); + l.Columns.AddRange(new ColumnHeader[] { c1, c2 }); + c1.Width = -2; + c2.Width = -1; + Controls.Add(l); + } + +} +Changing text_padding to 4 seems to fix it, but I don't know why. +Maybe the whole header height thing needs to be changed. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
