[Mono-bugs] [Bug 81792][Wis] New - TextBox is drawing the text to close to the bottom when there's no borders
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jun 1 06:59:49 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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81792
--- shadow/81792 2007-06-01 06:59:49.000000000 -0400
+++ shadow/81792.tmp.7394 2007-06-01 06:59:49.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 81792
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: rolfkvinge at ya.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TextBox is drawing the text to close to the bottom when there's no borders
+
+MS draws the text so that it's all visible within the text area, we draw
+it so that the baseline is aligned with the bottom of the text area (so
+that the bottom part of letters like j, p, g, etc, get cut off).
+
+Repro:
+
+using System;
+using System.Windows.Forms;
+
+class a {
+ static void Main () {
+ using (Form f = new Form ()) {
+ TextBox t = new TextBox ();
+ t.Text = "aiIj";
+ t.BorderStyle = BorderStyle.None;
+ f.Controls.Add (t);
+ f.ShowDialog ();
+ }
+ }
+}
More information about the mono-bugs
mailing list