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

QComboBox in CleanLooks style tends to use a scrollbar without having to

    XMLWordPrintable

Details

    Description

      The drop down menu from a QComboBox tends to use a scrollbar even when there is a lot of free screen area it could be using. QComboBox::showPopup() will calculate list height as first item height times min of count and max visble items:

      listRect.setHeight(itemHeight * qMin(d->maxVisibleItems, count()));

      This fails if later items have different height (ie. first item blank, others have text and icons).

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes