Author: jpobst
Date: 2007-09-17 11:12:44 -0400 (Mon, 17 Sep 2007)
New Revision: 85890
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/DefaultLayout.cs
Log:
2007-09-17 Jonathan Pobst <[EMAIL PROTECTED]>
* DefaultLayout.cs: Fix copy/paste error for dist_right. Fixes
reopened bug #325429.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog
2007-09-17 15:12:41 UTC (rev 85889)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog
2007-09-17 15:12:44 UTC (rev 85890)
@@ -1,3 +1,8 @@
+2007-09-17 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * DefaultLayout.cs: Fix copy/paste error for dist_right. Fixes
+ reopened bug #325429.
+
2007-09-13 Jonathan Pobst <[EMAIL PROTECTED]>
* TableLayout.cs: Use control's PreferredSize when figuring up the
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/DefaultLayout.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/DefaultLayout.cs
2007-09-17 15:12:41 UTC (rev 85889)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/DefaultLayout.cs
2007-09-17 15:12:44 UTC (rev 85890)
@@ -138,7 +138,7 @@
// left+=diff_width/2 will introduce
rounding errors (diff_width removed from svn after r51780)
// This calculates from scratch every
time:
left = left + (space.Width - (left +
width + child.dist_right)) / 2;
- child.dist_right = space.Width - (left
+ height);
+ child.dist_right = space.Width - (left
+ width);
}
if ((anchor & AnchorStyles.Bottom) != 0) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches