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

Regression: QComboBox popup listview expanding horizontal size policy does not work on 5.0.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.1, 5.4.0 Alpha
    • None
    • Windows (tested on Vista, 7, 8)

    Description

      On Qt4.8 the listview popup from a QComboBox would by default automatically expand horizontally to contents.

      On Qt5.0.2 it does not expand by default, and setting the view()>sizePolicy()>setHorizontalPolicy() to QSizePolicy::MinimumExpanding does not work either: The popup list view always has the view()->minimumWidth(), not expanding.

      Also tried setting this on a reimplemented QComboBox showPopup(), which did not work either.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jsveiga Joao S Veiga
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes