[Mono-bugs] [Bug 78868][Cos] New - Scroll bars not displayed on UserControl when Size smaller than AutoScrollMinSize

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 15 20:38:51 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=78868

--- shadow/78868	2006-07-15 20:38:51.000000000 -0400
+++ shadow/78868.tmp.28316	2006-07-15 20:38:51.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 78868
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Scroll bars not displayed on UserControl when Size smaller than AutoScrollMinSize
+
+Description of Problem: Scroll bars are not displayed on a UserControl when 
+its Size is smaller than its AutoScrollMinSize. On .NET Framework they are.
+
+
+Steps to reproduce the problem:
+1. Compile and run the folowing program.
+using System.Drawing;
+using System.Windows.Forms;
+class Test: Form {
+    public Test() {
+        UserControl UserControl = new UserControl();
+        Controls.Add(UserControl);
+        UserControl.AutoScroll = true;
+        UserControl.AutoScrollMinSize = new Size(200, 200);
+        UserControl.Size = new Size(100, 100);
+    }
+    static void Main() {
+        Application.Run(new Test());
+    }
+}
+
+Actual Results:
+No scroll bars are displayed.
+
+Expected Results:
+Scroll bars are displayed.
+
+How often does this happen? 
+Always.


More information about the mono-bugs mailing list