Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qml, anchors and rotating
Qt 6.11 is out! See what's new in the release blog

Qml, anchors and rotating

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 4.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spode
    wrote on last edited by
    #1

    if i have the rettangle on the left, how does it become if i rotate it about -90°? as the rettangle on the right?
    !http://img534.imageshack.us/img534/4960/immaginetud.png!
    http://imageshack.us/photo/my-images/534/immaginetud.png/()

    [EDIT: fixed image link, Volker]

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      Item rorates clockwise around transformOrigin. So -90 will be 90 degrees counterclockwise

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spode
        wrote on last edited by
        #3

        0k. what about the image? is it correct so?

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Erik Verbruggen
          wrote on last edited by
          #4

          Yes, scaling is ignored. Note that positioning will (also) depend on the transformOrigin.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            spode
            wrote on last edited by
            #5

            no, it is not scaling, but rotating...

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved