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-11 18:53:31.000000000 -0400 +++ shadow/79370.tmp.26231 2006-09-12 21:40:12.000000000 -0400 @@ -84,6 +84,24 @@ thats a .tar.gz file ------- Additional Comments From [EMAIL PROTECTED] 2006-09-11 18:53 ------- Created an attachment (id=17650) A slightly simpler test case. (I hit this same error today.) + +------- Additional Comments From [EMAIL PROTECTED] 2006-09-12 21:40 ------- +RichTextBox also has this problem, so this is mostly a TextBoxBase issue. + +The problem appears when calculating the ClientSize in Hwnd. +GetWindowRectangle (when trying to Set Bounds), specifically in the lines: + +if (border_style == FormBorderStyle.Fixed3D) { +... + rect.Width += border_3D_size.Width * 2; + +The ThemeEngine.Border3DSize is always of Width = 2, so this could +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. + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
