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:41.000000000 -0400 +++ shadow/78403.tmp.12222 2006-05-15 07:41:22.000000000 -0400 @@ -1,23 +1,23 @@ Bug#: 78403 Product: Mono: Class Libraries Version: 1.1 -OS: +OS: unknown OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown 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 +Summary: TextBox.set_TextAlign does not update the align as summarized ;-) sample repro: using System; @@ -54,6 +54,38 @@ Patch being attached. ------- Additional Comments From [EMAIL PROTECTED] 2006-05-15 07:07 ------- Created an attachment (id=17020) proposed fix + +------- Additional Comments From [EMAIL PROTECTED] 2006-05-15 07:41 ------- +Hmm... it still did not update the alignment when it tries to move left. + +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.Right; + Controls.Add (tb); + Button b = new Button (); + b.Top = 20; + b.Text = "to right"; + b.Click += delegate (object o, EventArgs e) { + Console.WriteLine (tb.TextAlign); + tb.TextAlign = HorizontalAlignment.Left; + }; + Controls.Add (b); + } +} + +Another patch being attached for this specific problem. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
