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

    How to add ui buttons, switches, and sliders in Uiflow 2.0?

    UiFlow 2.0
    2
    3
    1.8k
    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.
    • I
      invxblrkl
      last edited by

      Hi,

      I recently decided to try out UiFlow 2.0 and noticed there wasn't any buttons, switches, and sliders available in the widgets area for a Core2 device. They are available in the older version of UiFLow. Is this a missing feature in 2.0 or is there some other way of accomplishing this? It's not obvious to me if that's the case. It would be great if someone could post an example if this can be done or just inform if these features are not available yet. I have searched for this online but couldn't find any discussions regarding this. Looking forward to hearing back.

      dissyD 1 Reply Last reply Reply Quote 0
      • dissyD
        dissy @invxblrkl
        last edited by

        @invxblrkl Not available yet.

        There are touch count and x/y reading blocks however, so it can be done the long manual way. I just had my own go last week at making touch buttons this way.
        Check if touch count went up, and if so check if x/y is within the area you want a button.
        I used rect objects on screen to get the coordinates.

        I'd assume a switch can be done that way by changing the rect background color, or an image you flip between two pngs.

        1 Reply Last reply Reply Quote 0
        • I
          invxblrkl
          last edited by

          Got it! Thanks for the response!

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