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

QML Image should have a fillMode that prevents it from being scaled.

    XMLWordPrintable

Details

    • Iaaf3b2d02c47ad01d2c8b49d146f1a9401b2558d

    Description

      Currently it is not possible to have an Image element and tell it to "never scale the image, but render it as-is taking into account your current alignment." There should be a fillMode property that tells the Image element to paint its contents without any scaling. At the moment this behavior can be achieved by setting the contentSize property of the Image element to the exact dimensions of the image, but this approach is not feasible when the dimensions of the image are not known, or are too arduous to query.

      Attachments

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

        Activity

          People

            bodson Yann Bodson (Inactive)
            laitaan Antti Laitala
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes