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=80628 --- shadow/80628 2007-01-25 19:45:28.000000000 -0500 +++ shadow/80628.tmp.4737 2007-01-25 19:45:28.000000000 -0500 @@ -0,0 +1,36 @@ +Bug#: 80628 +Product: Mono: Class Libraries +Version: 1.2 +OS: other +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TextBox has wrong ClientRectangle.Height after setting BorderStyle to FixedSingle + +Steps to reproduce the problem: +using System; +using System.Diagnostics; +using System.Windows.Forms; +class TestForm : Form { + static void Main() { + Application.Run(new TestForm()); + } + TextBox t = new TextBox(); + public TestForm() { + Controls.Add(t); + } + protected override void OnClick(EventArgs e) { + base.OnClick(e); + t.BorderStyle = BorderStyle.FixedSingle; + Debug.Assert(t.ClientRectangle.Height == 20); + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
