🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Rotate UI object

    UIFlow
    3
    5
    5.7k
    Loading More Posts
    • 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.
    • B
      brett
      last edited by

      Is it possible to rotate a UI object to a set angle?

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @brett
        last edited by

        @brett with the 1.3.2 branch of UIFlow there is now the option to set a GUI object rotation angle.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        B 1 Reply Last reply Reply Quote 0
        • B
          brett @ajb2k3
          last edited by

          @ajb2k3 I see an option to rotate a polygon under LCD.polygon, but I'm not seeing a GUI object rotation angle. Could you explain further?

          Thanks

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @brett
            last edited by ajb2k3

            @brett said in Rotate UI object:

            @ajb2k3 I see an option to rotate a polygon under LCD.polygon, but I'm not seeing a GUI object rotation angle. Could you explain further?

            Thanks

            When you add a label from the five icons above the Virtual M5Stack, a rotation block will appear in the UI Drop down menu.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • lukasmaximusL
              lukasmaximus
              last edited by

              @brett do you want to rotate the whole display or simply some of the graphic elements? As @ajb2k3 stated the rotation option is available for the text label, but elements such as the rectangle or triangle graphic elements are not rotatable due to the module they are based on not supporting this feature.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post