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=80460

--- shadow/80460        2007-01-05 16:38:57.000000000 -0500
+++ shadow/80460.tmp.27305      2007-01-05 16:38:57.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 80460
+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: FlowLayoutPanel does not take into account AutoSizeMode
+
+Run this program on Microsoft .NET Framework with and without the 
+AutoSizeMode line.
+using System.Drawing;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        FlowLayoutPanel p = new FlowLayoutPanel();
+        p.BackColor = Color.Red;
+        p.AutoSize = true;
+        //This line changes the way the form looks.
+        p.AutoSizeMode = AutoSizeMode.GrowAndShrink;
+        p.Controls.AddRange(new Control[] { new Button(), new Button() });
+        Controls.Add(p);
+    }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to