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=78403 --- shadow/78403 2006-05-15 07:07:01.000000000 -0400 +++ shadow/78403.tmp.11723 2006-05-15 07:07:01.000000000 -0400 @@ -0,0 +1,54 @@ +Bug#: 78403 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [PATCH] TextBox.set_TextAlign does not update the align + +as summarized ;-) + +sample repro: + +using System; +using System.Windows.Forms; + +public class Test : Form +{ + public static void Main () + { + Application.Run (new Test ()); + } + + public Test () + { + TextBox tb = new TextBox (); + tb.Text = "sample"; + tb.TextAlign = HorizontalAlignment.Center; + Controls.Add (tb); + Button b = new Button (); + b.Top = 20; + b.Text = "to right"; + b.Click += delegate (object o, EventArgs e) { + tb.TextAlign = HorizontalAlignment.Right; + }; + Controls.Add (b); + } +} + + +Steps to reproduce the problem: +1. compile and run. +2. click the button "to right" and check if the textbox text moves to right. + +Patch being attached. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
