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=79370

--- shadow/79370        2006-09-12 21:40:12.000000000 -0400
+++ shadow/79370.tmp.4579       2006-09-13 10:06:38.000000000 -0400
@@ -102,6 +102,16 @@
 explain why the minimum size for avoiding the exception is Width>= 4
 
 I also noted that the CreateParams property appears to be different
 than that one in .Net. I don't know if this is the source of the
 problem, though.
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-09-13 10:06 -------
+I observed that .Net doesn't draw the borders when the Width is 
+minor than 4 (which appears to be the border size). 
+
+So I made a little change in TextBoxBase.CreateParams, to avoid 
+taking into account the borders if the Width is minor than the 
+current's theme border  size.
+
+This fixed the problem for both RichTextBox and TextBox.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to