[Mono-bugs] [Bug 79436][Nor] New - ComboBox: different ComboBox height on Linux/MWF and Windows/SWF and other problems

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 18 17:16:09 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 alex.olk at googlemail.com.

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

--- shadow/79436	2006-09-18 17:16:09.000000000 -0400
+++ shadow/79436.tmp.24048	2006-09-18 17:16:09.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 79436
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ComboBox: different ComboBox height on Linux/MWF and Windows/SWF and other problems
+
+If you take a close look at the attached screenshot you can see that the
+height of a MWF ComboBox is different to the height of a SWF ComboBox.
+(SWF ComboBox has one pixel more aka is one pixel higher).
+
+Another problem is, that the selection/focus (filled) rectangle in a SWF
+ComboBox is different to the one in a MWF ComboBox. It has a (white) one
+pixel frame at the top, left and right side whereas MWF hasn't one. (SWF
+ownerdrawn ComboBoxes have that 1 pixel border on all sides).
+
+Next problem is, that ownerdrawn ComboBoxes should honour that area and not
+draw over that bottom 1 pixel frame as MWF does it now.
+
+And another problem is, that the text control inside a ComboBox is just to
+big/high so it draws over the inner bottom border line (but maybe that is
+related to the wrong ComboBox height).
+
+Changing the internal border style to Fixed3D can't be used because on
+windows a ComboBox with a default size of 121,21 returns 121,21 for
+ClientRectangle.Width and .Height.


More information about the mono-bugs mailing list