Author: jpobst
Date: 2007-11-19 12:46:58 -0500 (Mon, 19 Nov 2007)
New Revision: 89934
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
Log:
2007-11-19 Jonathan Pobst <[EMAIL PROTECTED]>
* Label.cs: Use Size instead of None. Fixes bug #342077.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-19 15:55:26 UTC (rev 89933)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-19 17:46:58 UTC (rev 89934)
@@ -1,3 +1,7 @@
+2007-11-19 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * Label.cs: Use Size instead of None. Fixes bug #342077.
+
2007-11-18 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* ListViewItem.cs: Implement 2.0 FindNearestItem method.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
2007-11-19 15:55:26 UTC (rev 89933)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
2007-11-19 17:46:58 UTC (rev 89934)
@@ -729,7 +729,7 @@
Size s = InternalGetPreferredSize (Size.Empty);
- SetBounds (Left, Top, s.Width, s.Height,
BoundsSpecified.None);
+ SetBounds (Left, Top, s.Width, s.Height,
BoundsSpecified.Size);
}
private void OnHandleCreatedLB (Object o, EventArgs e)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches