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=80137 --- shadow/80137 2006-12-04 09:20:08.000000000 -0500 +++ shadow/80137.tmp.10931 2007-06-01 12:42:16.000000000 -0400 @@ -1,23 +1,23 @@ Bug#: 80137 Product: Mono: Class Libraries Version: 1.2 OS: GNU/Linux [Other] OS Details: -Status: RESOLVED -Resolution: NOTABUG +Status: REOPENED +Resolution: Severity: Unknown Priority: Normal Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: Cc: -Summary: Label: AutoSize does not work for linebreaks +Summary: [2.0] Label: AutoSize does not work for linebreaks Set Label.AutoSize to true does not take into account linebreaks in Label.Text. To reproduce: 1. compile and run the attached code snippet. @@ -37,6 +37,13 @@ I'm sure I had different results on win32, but that may be because I was using the Windows XP (luna) theme. I'll verify this later today. ------- Additional Comments From [EMAIL PROTECTED] 2006-12-04 09:20 ------- Added an test for sizes, if you detect some problem please change LabelTest.SizesTest, create in revision 68944. + +------- Additional Comments From [EMAIL PROTECTED] 2007-06-01 12:42 ------- +Apparantly in .NET 2.0, MS does resize the height of the label when +the text contains line feeds. + +As a result, the SizesTest also fails on .NET 2.0 (but passes on .NET +1.x). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
