Community
Participate
Working Groups
3.2M3 The text of a CCombo by default is drawn too high under Windows XP. CCombo#internalLayout() sets the upper-left bound to (0,0).
Created attachment 30490 [details] Screenshot
Positioning the text to (0,0) results in misaligned text if the height of the drop down arrow is larger than the text's height (which is the case for the attached screenshot). I think both the text and the icon should be centered vertically within the container.
fixed > 0914
Reopening report and taking out this fix, because vertically centering the Text in the CCombo and setting the CCombo's background to the Text's background (so that it all blends together) can fail when: - the user changes their theme with CCombos open - a CCombo is disabled The first case can be handled by adding an SWT.Settings listener to the display and redrawing whenever the theme changes. However there's no way to handle the second case with existing swt apis.
There is a request for api that would help with the second case. If that request can be implemented on all platforms then this can be revisited. Marking this report as dependent on bug 22782.
Grant, what happened here? Do we still have the problem?
Yes, see comment 5.
Maybe we should put back the old code?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.