[Mono-bugs] [Bug 80137][Nor] Changed - [2.0] Label: AutoSize does not work for linebreaks

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 1 12:42:16 EDT 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 gert.driesen at pandora.be.


--- 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   
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: everaldo at simios.org                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-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 
 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 everaldo at simios.org  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 gert.driesen at pandora.be  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 

More information about the mono-bugs mailing list