[Mono-bugs] [Bug 79218][Wis] New - Scroll problems

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 30 05:33:10 EDT 2006


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

--- shadow/79218	2006-08-30 05:33:10.000000000 -0400
+++ shadow/79218.tmp.13188	2006-08-30 05:33:10.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 79218
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Scroll problems
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Scrolling is not working properly.
+
+Steps to reproduce the problem:
+Compile and run the following program:
+using System.Drawing;
+using System.Windows.Forms;
+class Test {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+}
+class TestForm : Form {
+    public TestForm() {
+        UserControl Scroller = new UserControl();
+        Scroller.Dock = DockStyle.Fill;
+        Controls.Add(Scroller);
+        Button Button = new Button();
+        Button.Size = new Size(Scroller.Width * 2, Scroller.Height * 2);
+        Scroller.Controls.Add(Button);
+        Scroller.AutoScrollMinSize = Button.Size;
+    }
+}
+
+Actual Results:
+The button is not as large as it should be. The scrollbars are not 
+displayed.
+
+Expected Results:
+The button should be twice as large as the window client area, therefore 
+the scrollars should be visible.
+
+How often does this happen? 
+Always.
+
+Additional Information:


More information about the mono-bugs mailing list