Author: jpobst
Date: 2007-07-18 15:43:03 -0400 (Wed, 18 Jul 2007)
New Revision: 82236
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
Log:
2007-07-18 Jonathan Pobst <[EMAIL PROTECTED]>
* ScrollableControl.cs: Don't mess up the user's explicit bounds.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-07-18 19:39:43 UTC (rev 82235)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-07-18 19:43:03 UTC (rev 82236)
@@ -1,5 +1,9 @@
2007-07-18 Jonathan Pobst <[EMAIL PROTECTED]>
+ * ScrollableControl.cs: Don't mess up the user's explicit bounds.
+
+2007-07-18 Jonathan Pobst <[EMAIL PROTECTED]>
+
* CheckBox.cs: Chain TextAlign to base implementation instead of
maintaining another one.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
2007-07-18 19:39:43 UTC (rev 82235)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
2007-07-18 19:43:03 UTC (rev 82236)
@@ -904,12 +904,12 @@
SuspendLayout ();
- hscrollbar.Bounds = hscroll_bounds;
+ hscrollbar.SetBounds (hscroll_bounds.X,
hscroll_bounds.Y, hscroll_bounds.Width, hscroll_bounds.Height,
BoundsSpecified.None);
hscrollbar.Visible = hscroll_visible;
if (hscrollbar.Visible)
XplatUI.SetZOrder (hscrollbar.Handle,
IntPtr.Zero, true, false);
- vscrollbar.Bounds = vscroll_bounds;
+ vscrollbar.SetBounds (vscroll_bounds.X,
vscroll_bounds.Y, vscroll_bounds.Width, vscroll_bounds.Height,
BoundsSpecified.None);
vscrollbar.Visible = vscroll_visible;
if (vscrollbar.Visible)
XplatUI.SetZOrder (vscrollbar.Handle,
IntPtr.Zero, true, false);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches