[Mono-bugs] [Bug 77416][Maj] New - Forms Layout Problems

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 31 09:37:31 EST 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 don at edvalson.net.

http://bugzilla.ximian.com/show_bug.cgi?id=77416

--- shadow/77416	2006-01-31 09:37:31.000000000 -0500
+++ shadow/77416.tmp.13054	2006-01-31 09:37:31.000000000 -0500
@@ -0,0 +1,61 @@
+Bug#: 77416
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: Windows XP SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: don at edvalson.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Forms Layout Problems
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem: The attached project has a form with a red 
+background. On that form is a main menu and a black panel. On the panel 
+is a single textbox.
+
+The following code is in the constructor of the form:
+
+this.panel1.Location = new Point (0,0);
+this.ClientSize = this.panel1.Size;
+
+This code should cause the panel to be located at the upper left hand 
+corner of the form and then resize the form to the same size as the 
+panel. Thus, the red background of the form should be invisible. This 
+works properly under .net. 
+
+Under mono, there are four problems.
+1.  Red is visible to the right of the menu (this has been reported 
+previously).
+2.  Red is visible below the panel.
+3.  The textbox is layed out too small and only part of the text is 
+visible.
+4.  The icon from the project is not used.
+
+The attached zip file has the entire project as well as screen shots from 
+mono and from .NET
+
+
+Steps to reproduce the problem:
+1. Compile and run the attached project
+2. Observe the reults.
+3. 
+
+Actual Results: As described above.
+
+
+Expected Results: Correct form layout
+
+
+How often does this happen? always
+
+
+Additional Information:


More information about the mono-bugs mailing list