[Mono-bugs] [Bug 80792][Min] New - Docking, z-order problem

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 11 06:20:20 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 georgegiolfan at yahoo.com.

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: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+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).


More information about the mono-bugs mailing list