Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80950

The QComboBox down-arrow has a border when change the background of the QComboBox, can't remove it.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.1, 5.15.0 Alpha
    • 5.13.1, 5.14.0
    • Widgets: Style Sheets
    • None
    • shiboken2==5.14.0 (from PySide2==5.14.0)
      macOS Cataline 10.15.1
      Python 3.7.4
    • All
    • 56674dca36f113369d3ed598192a392ceb723605 (qt/qtbase/5.14)

    Description


      self.storeComboBox = QComboBox(self)
      self.storeComboBox.setGeometry(QRect(80, 170, 91, 40))
      self.storeComboBox.setFixedHeight(25)
      self.storeComboBox.setMinimumHeight(25)
      self.storeComboBox.setStyleSheet(""" QComboBox

      { background: #262739; border-radius: 5px; }

      QComboBox::down-arrow {image:url(:icons/downarrow.png); border:0px; """)

      Attachments

        1. a.png
          a.png
          12 kB
        2. downarrow.png
          downarrow.png
          0.3 kB
        3. main.cpp
          0.2 kB
        4. main.py
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chehrlic Christian Ehrlicher
            chans chans s
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes