[Mono-bugs] [Bug 80294][Cos] Changed - TextBox with TextAlign set to Right displays left aligned text

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 16 02:22:26 EST 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 toshok at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80294

--- shadow/80294	2006-12-21 12:16:12.000000000 -0500
+++ shadow/80294.tmp.22274	2007-01-16 02:22:26.000000000 -0500
@@ -11,13 +11,13 @@
 AssignedTo: jackson at ximian.com                            
 ReportedBy: georgegiolfan at yahoo.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: 1_2
 URL: 
 Cc: 
-Summary: NumericUpDown with TextAlign set to Right displays left aligned text after scrolling
+Summary: TextBox with TextAlign set to Right displays left aligned text
 
 Description of Problem:
 NumericUpDown with TextAlign set to Right displays left aligned text after 
 scrolling
 
 Steps to reproduce the problem:
@@ -44,6 +44,25 @@
 
 How often does this happen? 
 Always (on monocharge 20061217 but not on v. 1.2.2.1).
 
 ------- Additional Comments From georgegiolfan at yahoo.com  2006-12-17 19:35 -------
 After further investigation I found that the bug is in TextBox.
+
+------- Additional Comments From toshok at ximian.com  2007-01-16 02:22 -------
+changing the summary to reflect the textbox nature of the bug.
+
+here's the textbox test:
+
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        TextBox t = new TextBox ();
+        t.TextAlign = HorizontalAlignment.Right;
+        Controls.Add(t);
+        t.Text = "Hello world";
+    }
+}
+


More information about the mono-bugs mailing list