Author: pbartok
Date: 2006-08-26 19:51:35 -0400 (Sat, 26 Aug 2006)
New Revision: 64421
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
Log:
2006-08-23 Peter Dennis Bartok <[EMAIL PROTECTED]>
* ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
when allowing layout again. Otherwise we re-generate the anchoring
distance to the border again and actually alter what the user wanted
This is ugly, it'd be better if we used DisplayRectangle instead of
ClientRectangle for Control.UpdateDistances, but that causes us to
have other problems (initial anchoring positons would be wrong)
(Fixes #78835)
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-08-26 23:32:38 UTC (rev 64420)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-08-26 23:51:35 UTC (rev 64421)
@@ -1,3 +1,13 @@
+2006-08-23 Peter Dennis Bartok <[EMAIL PROTECTED]>
+
+ * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
+ when allowing layout again. Otherwise we re-generate the anchoring
+ distance to the border again and actually alter what the user wanted
+ This is ugly, it'd be better if we used DisplayRectangle instead of
+ ClientRectangle for Control.UpdateDistances, but that causes us to
+ have other problems (initial anchoring positons would be wrong)
+ (Fixes #78835)
+
2006-08-23 Peter Dennis Bartok <[EMAIL PROTECTED]>
* Control.cs:
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
2006-08-26 23:32:38 UTC (rev 64420)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs
2006-08-26 23:51:35 UTC (rev 64421)
@@ -806,7 +806,7 @@
// Should we call XplatUI.ScrollWindow??? If so, we
need to position our windows by other means above
// Since we're already causing a redraw above
Invalidate(false);
- ResumeLayout();
+ ResumeLayout(false);
}
#endregion // Internal & Private Methods
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches