🤖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?

    Scheduled Pinned Locked Moved UiFlow 2.0
    3 Posts 2 Posters 3.0k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          invxblrkl
          last edited by

          Got it! Thanks for the response!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post