[Mono-bugs] [Bug 77925][Nor] New - ComboBox DrawComboBoxEditDecorations stuff is totally wrong and should be replaced

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Mar 26 12:59:44 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 xenomorph2 at onlinehome.de.

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

--- shadow/77925	2006-03-26 12:59:44.000000000 -0500
+++ shadow/77925.tmp.21714	2006-03-26 12:59:44.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 77925
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ComboBox DrawComboBoxEditDecorations stuff is totally wrong and should be replaced
+
+ComboBox drawing is totally wrong.
+
+It uses DrawComboBoxEditDecorations to draw borders which is absolut nonsens.
+To match ms ComboBoxes it should be initialized with BorderStyle =
+BorderStyle.Fixed3D (like TextBox).
+
+The current drawing implementation doesn't respect ClientSize (to set the
+correct size of the textbox for example) instead it relies on theme methods
+like DrawComboBoxEditDecorationTop to get the border widths or heights.


More information about the mono-bugs mailing list