[Mono-bugs] [Bug 80294][Cos] New - NumericUpDown with TextAlign set to Right displays left aligned text after scrolling

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Dec 17 19:23:02 EST 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 georgegiolfan at yahoo.com.

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

--- shadow/80294	2006-12-17 19:23:02.000000000 -0500
+++ shadow/80294.tmp.25503	2006-12-17 19:23:02.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 80294
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NumericUpDown with TextAlign set to Right displays left aligned text after scrolling
+
+Description of Problem:
+NumericUpDown with TextAlign set to Right displays left aligned text after 
+scrolling
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        NumericUpDown n = new NumericUpDown();
+        n.TextAlign = HorizontalAlignment.Right;
+        Controls.Add(n);
+        //This line triggers the bug.
+        n.Value = 1;
+    }
+}
+
+Actual Results:
+Left aligned text.
+
+Expected Results:
+Right aligned text.
+
+How often does this happen? 
+Always (on monocharge 20061217 but not on v. 1.2.2.1).


More information about the mono-bugs mailing list