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

Image: center aligned & PreserveAspectFit can result in small misalignment of painted img

    XMLWordPrintable

Details

    Description

      If a Qml Image has its fill mode set to Image.PreserveAspectFit and its vertical and horizontal alignment are both centered the painted image occasionally appears to be misaligned by a small amount.

      Steps to reproduce the issue:

      1. Run the attached project
      2. Observe the alignment of the painted image

      Note: the misalignment is only 1px in the example.

      Attachments

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes