[Mono-bugs] [Bug 79842][Nor] Changed - [PATCH] NUnit status bar panels are not sized correctly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 7 20:31:54 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 charlie at nunit.com.


--- shadow/79842	2006-11-07 19:03:20.000000000 -0500
+++ shadow/79842.tmp.25712	2006-11-07 20:31:54.000000000 -0500
@@ -55,6 +55,20 @@
 question:  what happens if you set the width and then set the minimum
 width to a larger value?
 ------- Additional Comments From toshok at ximian.com  2006-11-07 19:03 -------
 I added a couple of NotWorking tests for StatusBarPanel that cover
+------- Additional Comments From charlie at nunit.com  2006-11-07 20:31 -------
+For the problem panels, NUnit sets the following properties in the
+constructor for the status bar:
+  Panel.Autosize to StatusBarPanelAutosize.Contents 
+  Panel.MinWidth to a value
+Note that it does not set Width.
+I can make the symptoms go away by doing either of the following:
+  Set Width to same value as MinWidth in the constructor
+  Don't set Autosize
+So the problem seems to be related to the interaction between MinWidth
+and AutoSize and doesn't come up in other cases.

More information about the mono-bugs mailing list