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 [EMAIL PROTECTED]

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 [EMAIL PROTECTED]  2006-05-30 13:23 -------
 Created an attachment (id=17118)
 fix to fix regressions(?) in 
SizeChanged/AutoSizeChanged/BackgroundImageChanged in LabelTest.cs
 
+
+------- Additional Comments From [EMAIL PROTECTED]  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().
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to