Author: jpobst
Date: 2007-11-19 13:34:51 -0500 (Mon, 19 Nov 2007)
New Revision: 89935
Modified:
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
Log:
2007-11-19 Jonathan Pobst <[EMAIL PROTECTED]>
[Backport to 1.2.6]
* Label.cs: Use Size instead of None. Fixes bug #342077.
Modified:
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
---
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-19 17:46:58 UTC (rev 89934)
+++
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-19 18:34:51 UTC (rev 89935)
@@ -1,3 +1,7 @@
+2007-11-19 Jonathan Pobst <[EMAIL PROTECTED]>
+ [Backport to 1.2.6]
+ * Label.cs: Use Size instead of None. Fixes bug #342077.
+
2007-11-17 Jonathan Pobst <[EMAIL PROTECTED]>
[Backport to 1.2.6]
* TextControl.cs: Don't recalculate document if the recalc_start and
Modified:
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
===================================================================
---
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
2007-11-19 17:46:58 UTC (rev 89934)
+++
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Label.cs
2007-11-19 18:34:51 UTC (rev 89935)
@@ -728,7 +728,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