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 style QComoBox drop down menu... bad outline
Forum Updated to NodeBB v4.3 + New Features

How to style QComoBox drop down menu... bad outline

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 120 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.
  • D Offline
    D Offline
    Dariusz
    wrote on last edited by
    #1

    Hey
    The style :

    QComboBox{
    background-color: #202020;
    border: 0px solid;
    border-radius: 5px;
    height: 30px;
    }
    
    QComboBox QAbstractItemView
    {
        border: 1px solid #323232;
        border-radius: 10px;
        background-color: rgba(0,0,0,0.1);
        margin: 10px;
    }
    
    
    QComboBox::drop-down {
        subcontrol-origin: padding;
        subcontrol-position: top right;
        width: 15px;
        border-left-width: 1px;
        border-left-color: rgba(118, 121, 124, 255);
        border-left-style: solid;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }
    

    The issue :

    70420f78-ea47-4e50-a403-09c93a17a00b-image.png

    you can see that black edge outline around the QAbstractItemView. I can't remove it. Any idea how?

    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