[Mono-bugs] [Bug 80626][Wis] New - TextBox with BorderStyle.None should not start with its real size

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 25 18:33:00 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 georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80626

--- shadow/80626	2007-01-25 18:33:00.000000000 -0500
+++ shadow/80626.tmp.2674	2007-01-25 18:33:00.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 80626
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TextBox with BorderStyle.None should not start with its real size
+
+Steps to reproduce the problem:
+using System.Diagnostics;
+using System.Windows.Forms;
+class Test {
+    static void Main() {
+        TextBox t = new TextBox();
+        t.BorderStyle = BorderStyle.None;
+        Debug.Assert(t.Height == 20);
+        t.CreateControl();
+        Debug.Assert(t.Height == 13);
+    }
+}


More information about the mono-bugs mailing list