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

Only setting one dimension of sourceSize gives an incorrect value for the other dimension.

    XMLWordPrintable

Details

    • b4bf4f754ba65da3ea751dd5508d29244a4b4db2

    Description

      According to the docs: "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."

      In the attached example, only the width is set, and the height reports a value of 0.

      Attachments

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

        Activity

          People

            bodson Yann Bodson (Inactive)
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes