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

Remove font-based QScrollArea sizeHint limit

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 4.6.2
    • None

    Description

      QScrollArea::sizeHint uses QSize::boundedTo to limit the maximum size hint that it will return.

      The upper bounds for the sizeHint are determined by the line height of the font associated with the widget, however this value has no real meaning for non-textual widgets. E.g., a QScrollArea showing an image should return a sizeHint based on the image size, not on a font which the widget is not using.

      A better upper bound might be something like the screen size.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            refnum Dair Grant
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes