Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
None
-
-
28454b503c7e77a85855e1cc5911908d46d29366 (qt/qtquickcontrols2/5.12) 10023b188bb84d631fea53baa9ce5997f3fc286d (qt/qtquickcontrols2/5.12)
Description
See attached.
While it is indeed possible to customize a ComboBox by redefining its items, sometimes a quick solution is just to act on palette colors.
For example, to achieve a dark theme, one could override palette.base and palette.text.
However, the combo popup is not affected at all. See Screenshot_20181228_145719.
Patch proposed. See screenshot: patched_control
Attachments
Issue Links
- resulted in
-
QTBUG-74678 QtQuickControls 2 ComboBox Default style bad text color
- Closed
For Gerrit Dashboard: QTBUG-72786 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248924,3 | ComboBox: propagate palette colors to popup | 5.12 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
256990,6 | Default: fix highlighted ItemDelegate colors | 5.12 | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |