[Mono-bugs] [Bug 79494][Nor] New - When TextBox.TextAlign is Center, selecting the text doesn't work properly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Sep 25 11:00:04 EDT 2006
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 kuba.brecka at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79494
--- shadow/79494 2006-09-25 11:00:04.000000000 -0400
+++ shadow/79494.tmp.915 2006-09-25 11:00:04.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 79494
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: Windows XP SP1
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: kuba.brecka at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: When TextBox.TextAlign is Center, selecting the text doesn't work properly
+
+Try to select only the letter "e" in the TextBox. You'll find it is almost
+impossible. The behaviour is hard to describe, you have to run it and see
+it. Tested using Windows XP SP1, Mono 1.1.17.1.
+
+using System;
+using System.Windows.Forms;
+
+namespace MonoTest25
+{
+ public class Form1 : Form
+ {
+ static void Main()
+ {
+ Application.Run(new Form1());
+ }
+
+ public Form1()
+ {
+ TextBox T = new TextBox();
+ T.Font = new
+System.Drawing.Font(System.Drawing.FontFamily.GenericSerif, 20);
+ T.Width = 200;
+ T.Text = "abcdefghijkl";
+ T.TextAlign = HorizontalAlignment.Center;
+
+ Controls.Add(T);
+ }
+ }
+}
More information about the mono-bugs
mailing list