[Mono-bugs] [Bug 82072][Wis] New - TextBox BorderStyle issue

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 11 12:27:39 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 attilio.pavone at hotmail.com.


--- shadow/82072	2007-07-11 12:27:39.000000000 -0400
+++ shadow/82072.tmp.24959	2007-07-11 12:27:39.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 82072
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: attilio.pavone at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: TextBox BorderStyle issue
+In older version (1.2.3) of mono if a TextBox had a BorderStyle =
+BorderStyle.None the resulting size of the control was shrinked (1 pixel
+per side) exactly as in Microsoft.NET.
+In the new release (1.2.4) the size is kept regardless of BorderStyle.
+I find this behavior more corrected, anyway this resulted in some chars 
+being cutted away if the textbox was hosted inside an other control: 
+that is the case of a few controls I wrote but also of a few native 
+controls like combo box. I can fix my controls...
+To see this side effect see the attached screenshot.bmp
+There are three instances running on .NET 2.0, Mono 1.2.3 and Mono 
+1.2.4 of the same form with a textbox above and a combobox below.
+To reproduce the problem just execute the attached TestForm.exe:
+    mono TestForm.exe
+The source code is in TestForm.cs. To compile:
+    gmcs TestForm.cs -r:System.Drawing -r:System.Windows.Forms -r:System

More information about the mono-bugs mailing list