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. Extend Qmenu::separator over the Qmenu margin (so it touches the edges)?

Extend Qmenu::separator over the Qmenu margin (so it touches the edges)?

Scheduled Pinned Locked Moved Unsolved General and Desktop
stylesheetqssqmenuseparatormargin
1 Posts 1 Posters 357 Views
  • 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.
  • H Offline
    H Offline
    Hologram
    wrote on 27 Jan 2023, 23:27 last edited by
    #1

    Hi, how do I extend a separator to go to the ends of a menu?
    It needs to cross a 5px margin to the left and right in a Qmenu.
    53dc3ea8-765d-413f-b2fe-0e2cb9c37a6d-afbeelding.png

    QMenu::separator {
        height: 1px;
        background-color: #2F2F2F;
    }
    
    1 Reply Last reply
    0

    1/1

    27 Jan 2023, 23:27

    • Login

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