[Mono-bugs] [Bug 78425][Nor] Changed - Event order regresseions.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue May 30 13:28:04 EDT 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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78425
--- shadow/78425 2006-05-30 13:23:25.000000000 -0400
+++ shadow/78425.tmp.14155 2006-05-30 13:28:04.000000000 -0400
@@ -47,6 +47,23 @@
That conditional Invalidate() has been there since more than a year ago.
------- Additional Comments From atsushi at ximian.com 2006-05-30 13:23 -------
Created an attachment (id=17118)
fix to fix regressions(?) in SizeChanged/AutoSizeChanged/BackgroundImageChanged in LabelTest.cs
+
+------- Additional Comments From atsushi at ximian.com 2006-05-30 13:28 -------
+I have some comments on Label.cs changes.
+
+> - Refresh ();
+
+These (both set_AutoSize and set_BackgroundImage) are to avoid extra
+Invalidate. Instead, for bgimage, there is additional Invalidate() in
+Control.OnBackgroundImageChanged().
+
+> - Width = PreferredWidth;
+> - Height = PreferredHeight;
+> + Size = new Size (PreferredWidth,
+PreferredHeight);
+
+This is to not raise extra Resize events. Instead, there is an
+additional Invalidate() in Control.OnResize().
More information about the mono-bugs
mailing list