[Mono-bugs] [Bug 80336][Nor] Changed - Control.Anchor, SuspendLayout problem.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 27 16:08:40 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80336

--- shadow/80336	2006-12-21 13:52:27.000000000 -0500
+++ shadow/80336.tmp.10024	2006-12-27 16:08:40.000000000 -0500
@@ -38,6 +38,15 @@
 }
 
 ------- Additional Comments From toshok at ximian.com  2006-12-21 13:52 -------
 while it's entirely possible that SuspendLayout doesn't actually
 suspend layout on windows, this test does not show it.  It just shows
 there's a bug in the Anchor handling.
+
+------- Additional Comments From georgegiolfan at yahoo.com  2006-12-27 16:08 -------
+Here is an idea:
+Calculate the distances to the edges of the container when the Anchor 
+property is set and when the control is added to a container (instead 
+of doing it when the control or its container are resized, which 
+would work if layout_engine.Layout would be called even if 
+layout_suspended > 0).
+Please see the following patch.


More information about the mono-bugs mailing list