Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72786

ComboBox: can't customize popup palette

XMLWordPrintable

    • All
    • 28454b503c7e77a85855e1cc5911908d46d29366 (qt/qtquickcontrols2/5.12) 10023b188bb84d631fea53baa9ce5997f3fc286d (qt/qtquickcontrols2/5.12)

      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

        For Gerrit Dashboard: QTBUG-72786
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mcallegari79 Massimo Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes