Author: mkestner
Date: 2007-01-02 11:45:11 -0500 (Tue, 02 Jan 2007)
New Revision: 70369
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
Log:
2007-01-02 Mike Kestner <[EMAIL PROTECTED]>
* ListView.cs: patch from [EMAIL PROTECTED] to add padding
to header height for width == -1. Fixes the rest of #80207.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-01-02 16:16:52 UTC (rev 70368)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-01-02 16:45:11 UTC (rev 70369)
@@ -1,5 +1,10 @@
2007-01-02 Mike Kestner <[EMAIL PROTECTED]>
+ * ListView.cs: patch from [EMAIL PROTECTED] to add padding
+ to header height for width == -1. Fixes the rest of #80207.
+
+2007-01-02 Mike Kestner <[EMAIL PROTECTED]>
+
* ListView.cs: rework the mouse event forwarding everaldo added
to translate the coordinates to the parent control not
raise the parent events until after we've done our work. Hover
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2007-01-02 16:16:52 UTC (rev 70368)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2007-01-02 16:45:11 UTC (rev 70369)
@@ -786,6 +786,8 @@
(col.Text, this.Font)).Height;
else
ret_size.Height =
this.Font.Height;
+
+ ret_size.Height += text_padding;
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches