Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to change appearance of drop down area of QComboBox
Forum Updated to NodeBB v4.3 + New Features

How to change appearance of drop down area of QComboBox

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 3.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cerrC Offline
    cerrC Offline
    cerr
    wrote on last edited by cerr
    #1

    Hi,

    Can I change the appearance of the drop down area that lists the items in terms of color of selector, margin/padding between items (particularly increase the spacing)

    Pl45m4P 1 Reply Last reply
    0
    • cerrC cerr

      Hi,

      Can I change the appearance of the drop down area that lists the items in terms of color of selector, margin/padding between items (particularly increase the spacing)

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @cerr

      Check out QComboBox's stylesheet options:

      • https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox

      The drop down/ pop up menu is a QAbstractItemView which can be customized with stylesheet as well.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved