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 remove the border on the popup icon in QComboBox with style sheets?

How remove the border on the popup icon in QComboBox with style sheets?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 755 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.
  • gabodevG Offline
    gabodevG Offline
    gabodev
    wrote on last edited by gabodev
    #1

    Hello !
    I have this combobox and I need to not see that border:

    I have tried with:

    QComboBox QAbstractItemView::icon {
        border: 0px solid gray;
    }
    

    But it does not works.
    Thank you in advance.

    Developer at Ninja-IDE

    1 Reply Last reply
    0
    • J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      Hi,

      If I'm not mistaken, than

      QComboBox QAbstractItemView{}
      

      accesses the popup

      what you're looking for should be

      QComboBox::down-arrow{}
      

      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      gabodevG 1 Reply Last reply
      1
      • J.HilkJ J.Hilk

        Hi,

        If I'm not mistaken, than

        QComboBox QAbstractItemView{}
        

        accesses the popup

        what you're looking for should be

        QComboBox::down-arrow{}
        
        gabodevG Offline
        gabodevG Offline
        gabodev
        wrote on last edited by
        #3

        @J.Hilk Hi! I have to change the question, I mean the icon on the popup. I want to remove the border that is marked in red.

        Developer at Ninja-IDE

        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