[Mono-bugs] [Bug 80801][Cos] Changed - Label.PreferredHeight returns incorrect value after calling Application.SetCompatibleTextRenderingDefault

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 12 13:27:24 EST 2007

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 everaldo at simios.org.


--- shadow/80801	2007-02-11 20:22:06.000000000 -0500
+++ shadow/80801.tmp.10740	2007-02-12 13:27:24.000000000 -0500
@@ -34,6 +34,11 @@
 Additional Information:
 #if NET_2_0
             if (use_compatible_text_rendering)
 in Label.CalcPreferredHeight before the switch block seems to fix it.
+------- Additional Comments From everaldo at simios.org  2007-02-12 13:27 -------
+Theres more problems, when you change BorderStyle returned values is
+wrong, it's because PreferedHeight dont uses CalcPreferredHeight, I
+will write unit tests and fix errors.

More information about the mono-bugs mailing list