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

Anchors centering looks bad in motion

    XMLWordPrintable

Details

    • e99c5a3f113bbc1b8f8db996b4b0d5715eea2d89

    Description

      Anchors centering seems to round positions to integers which results in
      suboptimal behavior in motion in certain situations.

      Please see the two animating images in the attached example. The left
      one uses anchors.verticalCenter and the right one is centered manually.
      We can clearly see how the right image behaves better when animating
      the height.

      If this behavior is correct, it should be documented.

      Attachments

        1. anchorscentertest.qml
          0.5 kB
        2. image.png
          image.png
          5 kB

        Issue Links

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

          Activity

            People

              brasser Michael Brasser (closed Nokia identity) (Inactive)
              kimgronholm Kim Grönholm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes