GNOME Bugzilla – Bug 340204
[patch] Improve the look & feel of combo boxes (with patch files)
Last modified: 2007-02-20 11:11:52 UTC
I adjusted the width of the drop down list. Under Windows, the drop down list of combo boxes should be as wide as the combo box itself. So, I use combo box as sample when positioning the list instead of original GtkFrame. Besides, change frame type of GtkFrame to none because drop down lists under Windows have flat borders.
Created attachment 64575 [details] [review] Patch for GtkComboBox.
Like in bug #340206, the appearance should depend on whether the ms-windows ("wimp") theme is in use or not, shouldn't it? Or should we make wimp always be active and not deconfigurable at all? Personally I don't think I would mind, but some people might prefer to have the default cross-platform look in some apps?
In my opinion, the way to proceed here is to add a style property that says whether the dropdown list should be as wide as the combo box, defaulting to FALSE. There should also be a setting for the frame's shadow type *if and only if* it isn't possible to set from the gtkrc or override through msw_style.c.
in my opinion, the appears-as-list style should match as closely as possible whatever is considered to be the "Windows way" of doing combo boxes (I'm sure it has changed over time...). So, if wide popups are the correct behaviour for combo boxes on windows, appears-as-list should just do that.
Fixed. Thanks.
*** Bug 407464 has been marked as a duplicate of this bug. ***