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=80792 --- shadow/80792 2007-02-11 06:20:20.000000000 -0500 +++ shadow/80792.tmp.16975 2007-02-11 06:20:20.000000000 -0500 @@ -0,0 +1,46 @@ +Bug#: 80792 +Product: Mono: Class Libraries +Version: 1.2 +OS: other +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Docking, z-order problem + +Steps to reproduce the problem: +Compile and run the following program. +using System.Drawing; +using System.Windows.Forms; +class TestForm : Form { + static void Main() { + Application.Run(new TestForm()); + } + public TestForm() { + Label l1 = new Label(); + l1.Text = "1"; + l1.Dock = DockStyle.Top; + Label l2 = new Label(); + l2.Text = "2"; + l2.Dock = DockStyle.Bottom; + Controls.AddRange(new Control[] { l2, l1 }); + ClientSize = new Size(ClientSize.Width, l1.Height); + } +} + +Actual Results: +"1" + +Expected Results: +"2" + +How often does this happen? +Always (on the SVN version). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
