[Mono-bugs] [Bug 81718][Maj] Changed - Controls don't get correctly resized

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 23 14:12:37 EDT 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 monkey at jpobst.com.

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

--- shadow/81718	2007-05-23 11:50:12.000000000 -0400
+++ shadow/81718.tmp.12092	2007-05-23 14:12:37.000000000 -0400
@@ -2,16 +2,16 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: SLD 1
 OS Details: SLED + Mono 1.2.4
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: Windows.Forms
-AssignedTo: toshok at ximian.com                            
+AssignedTo: monkey at jpobst.com                            
 ReportedBy: pablosantosluac at terra.es               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: Controls don't get correctly resized
@@ -41,6 +41,19 @@
 
 
 ------- Additional Comments From pablosantosluac at terra.es  2007-05-23 11:50 -------
 Created an attachment (id=19296)
 The code + the app
 
+
+------- Additional Comments From monkey at jpobst.com  2007-05-23 14:12 -------
+Well, a quick fix is this:
+
+private void CollapseForm()
+{
+  OptionsPanel.Visible = false;
+  this.Size = new Size(this.Width, this.Height - OptionsPanel.Height);
+  bFormExpanded = false;
+}
+
+I am still researching why that works, but flipping the first 2
+statements doesn't work.


More information about the mono-bugs mailing list