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

Image.sourceSize applied even if image's actual size is smaller than the sourceSize

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 4.7.1
    • None
    • Ubuntu Linux 10.10 'Natty', Qt 4.7.1. Package qt4-x11 4:4.7.1-0ubuntu8

    Description

      Image.sourceSize's documentation states:
      "If the image's actual size is larger than the sourceSize, the image is scaled down. If only one dimension of the size is set to greater than 0, the other dimension is set in proportion to preserve the source image's aspect ratio. (The fillMode is independent of this.)"

      However setting the sourceSize to a value smaller than the image's actual size, the image is scaled up even though, according to the documentation, nothing should happen.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            kaleo Florian Boucault
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes