[Mono-bugs] [Bug 77187][Nor] Changed - It seems that the wider you make the Combo box the narrower the drop down button becomes.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 25 21:04:29 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 mono-list.1.tracyanne at spamgourmet.com.

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

--- shadow/77187	2006-01-25 20:53:14.000000000 -0500
+++ shadow/77187.tmp.7558	2006-01-25 21:04:29.000000000 -0500
@@ -67,6 +67,36 @@
 
 ------- Additional Comments From peter at novonyx.com  2006-01-25 20:53 -------
 tracyanne, could you please let us know if you still see this 
 problem, and if so, provide some sample code or a url where to get 
 the app you are using? We don't see this problem here. Will close if 
 no response.
+
+------- Additional Comments From mono-list.1.tracyanne at spamgourmet.com  2006-01-25 21:04 -------
+I was having trouble posting this site, so I posted comments on mono-list.
+
+Here are my comments:
+
+I have solved the problem. 
+
+I obtained test code from
+http://svn.myrealbox.com/viewcvs/trunk/winforms/combobox/swf-combobox-single.cs?rev=40235&view=markup
+and it works as expected, with the dropdown button appearing corerctly
+at all sizes of the combo box.
+
+The code I posted, below, still fails to corectly render the dropdown
+button for sizes of the combo box greater than 30px.
+
+Further investigation revealed that the Mono test code always includes a
+setting of the combobox DropDownStyle, while the Microsoft example code
+I have been using does not.
+
+If I add the following 
+
+this.cbFont.DropDownStyle = ComboBoxStyle.DropDownList;
+
+to the Microsoft example code I have been using the dropdown button of
+the combobox is will render correctly and as expected.
+
+regards
+
+Tracy Barlow


More information about the mono-bugs mailing list