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

QCombobox not show up scrollbar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.3.2
    • Widgets: Style Sheets
    • None
    • Rapbian Jessie

      QT 5.3.2

      Raspbarry pi 3

       

    Description

      QCombobox not show up scrollbar when setting style sheets:

      QComboBox {
      combobox-popup: 0;
      background: #E6E7E8;
      color:#404040;
      border: 1px solid #848483;
      border-radius: 5px;
      }

      QComboBox::drop-down {
      border-image: url(:/Buttons/images/buttons/DownArrow.png);
      width: 40px;
      margin:3px;
      border-radius:5px;
      }

      QComboBox QListView {
      background: #E6E7E8;
      color:#404040;
      border: 1px solid #848483;
      border-radius:5px;
      }

      /* Width of the scroll bar */
      QComboBox QListView QScrollBar:vertical {
      width: 40px;
      }

      /* Surfae where the handle cam move */
      QComboBox QListView QScrollBar::add-page:vertical, QComboBox QListView QScrollBar::sub-page:vertical {
      background: #404040;
      }

      /* Down arrow of the scroll bar */
      QComboBox QListView QScrollBar::down-arrow:vertical {
      border-image: url(:/Buttons/images/buttons/DownArrow.png);
      }

      /* Up arrow of the scroll bar */
      QComboBox QListView QScrollBar::up-arrow:vertical {
      border-image: url(:/Buttons/images/buttons/ArrowUp.png);
      }

      /* Bottom and up part surrounding the arrows */
      QComboBox QListView QScrollBar::add-line:vertical, QComboBox QListView QScrollBar::sub-line:vertical {
      background: #E6E7E8;
      border: 1px solid #848483;
      border-radius:5px;
      }

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            dhle DH Le
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes