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. Setting a background color for QMenu through QCSS makes the check mark of the items disappear
Qt 6.11 is out! See what's new in the release blog

Setting a background color for QMenu through QCSS makes the check mark of the items disappear

Scheduled Pinned Locked Moved General and Desktop
qcssqmenu
1 Posts 1 Posters 910 Views 1 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hello!

    I discovered after debugging my QCSS file that setting the background color for a QMenu widget makes the check sign disappear from each menu item, but is visible if the menu item is hover:

    How can I solve this issue and still setting the background color for QMenu?

    1 Reply Last reply
    0

    • Login

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