Author: mkestner
Date: 2006-05-30 12:47:15 -0400 (Tue, 30 May 2006)
New Revision: 61267
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
Log:
2006-05-30 Mike Kestner <[EMAIL PROTECTED]>
* ListView.cs: allow reexpansion of zero-width column headers.
Fixes #78528.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-05-30 16:43:30 UTC (rev 61266)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-05-30 16:47:15 UTC (rev 61267)
@@ -1,3 +1,8 @@
+2006-05-30 Mike Kestner <[EMAIL PROTECTED]>
+
+ * ListView.cs: allow reexpansion of zero-width column headers.
+ Fixes #78528.
+
2006-05-28 Chris Toshok <[EMAIL PROTECTED]>
* CurrencyManager.cs (get_Current): after the late binding
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2006-05-30 16:43:30 UTC (rev 61266)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2006-05-30 16:47:15 UTC (rev 61267)
@@ -1983,6 +1983,8 @@
zone.X = zone.Right - 5;
zone.Width = 10;
if (zone.Contains (pt)) {
+ if (i < owner.Columns.Count - 1
&& owner.Columns [i + 1].Width == 0)
+ i++;
resize_column = owner.Columns
[i];
break;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches