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

    Problems with the Labels

    UIFlow
    4
    16
    25.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.
    • G
      gadjet
      last edited by

      Why does setting the font size only work once for the first label in the Flow GUI and even if I try to set them in the "setup" it has no affect on the labels?

      How do I stop the labels leaving a ghost blue image on the background as they change?

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

        @gadjet said in Problems with the Labels:

        Why does setting the font size only work once for the first label in the Flow GUI and even if I try to set them in the "setup" it has no affect on the labels?

        How do I stop the labels leaving a ghost blue image on the background as they change?

        I'm getting font not defined.
        Try lcd.clear function before the lcd.print function.

        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!

        G 1 Reply Last reply Reply Quote 0
        • G
          gadjet @ajb2k3
          last edited by

          @ajb2k3 In the UIflow if I reload the page and the project I can edit the fonts OK but then for some reason the properties when I click on the label always show the same properties, say for label0, no matter which label I'm right clicking on.

          Reload the page and it works again for a while..... is it just me?

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

            @gadjet
            I'm getting the same.

            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!

            G 1 Reply Last reply Reply Quote 0
            • G
              gadjet @ajb2k3
              last edited by

              @ajb2k3 said in Problems with the Labels:

              @gadjet
              I'm getting the same.

              So it looks like it's a problem with the UiFlow interface then, is it a known bug?

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

                @gadjet said in Problems with the Labels:

                @ajb2k3 said in Problems with the Labels:

                @gadjet
                I'm getting the same.

                So it looks like it's a problem with the UiFlow interface then, is it a known bug?

                @heybin do you know about this bug?

                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
                • H
                  heybin
                  last edited by

                  I have met this, but I don’t know how to reproduce it,Can you describe how to trigger?

                  ajb2k3A G 2 Replies Last reply Reply Quote 0
                  • ajb2k3A
                    ajb2k3 @heybin
                    last edited by

                    @heybin said in Problems with the Labels:

                    I have met this, but I don’t know how to reproduce it,Can you describe how to trigger?

                    Will see If I reproduce the steps I took to cause the bug later.

                    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
                    • ajb2k3A
                      ajb2k3
                      last edited by ajb2k3

                      I have added a few extra font changes to trigger the bug but its the first set font that is triggering "Font not defined."
                      alt text

                      UIFlow and firmware 1.1.1

                      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
                      • H
                        heybin
                        last edited by

                        this bug will fix in those day, but gadjet said looks like another bug...

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

                          The ghosting, i think, is to do with the lcd screen,
                          I made guess that he was using the deja vue and trying to set it with the different size specific block.

                          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!

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            gadjet @ajb2k3
                            last edited by

                            @ajb2k3 said in Problems with the Labels:

                            The ghosting, i think, is to do with the lcd screen,
                            I made guess that he was using the deja vue and trying to set it with the different size specific block.

                            I did some more work and found the ghosting is when I modify a label, when I leave the label and then use LCD.Print to add the text is seems to be OK.

                            I was mistakenly using the label object to write a changing value to the screen, LCD.print works OK but editing the label would still give the ghosting issue.

                            world101W 1 Reply Last reply Reply Quote 0
                            • G
                              gadjet @heybin
                              last edited by

                              @heybin said in Problems with the Labels:

                              I have met this, but I don’t know how to reproduce it,Can you describe how to trigger?

                              I have a suspicion that it happens after the code has been downloaded and you try to edit the labels, a reload of the page and the project fixes it.

                              I will test out my theory tonight and feedback.

                              1 Reply Last reply Reply Quote 0
                              • world101W
                                world101 @gadjet
                                last edited by

                                @gadjet said in Problems with the Labels:

                                @ajb2k3 said in Problems with the Labels:

                                The ghosting, i think, is to do with the lcd screen,
                                I made guess that he was using the deja vue and trying to set it with the different size specific block.

                                I did some more work and found the ghosting is when I modify a label, when I leave the label and then use LCD.Print to add the text is seems to be OK.

                                I was mistakenly using the label object to write a changing value to the screen, LCD.print works OK but editing the label would still give the ghosting issue.

                                Where is LCD.print in UIFlow? Is it the print block under the Text menu?

                                ajb2k3A G 2 Replies Last reply Reply Quote 0
                                • ajb2k3A
                                  ajb2k3 @world101
                                  last edited by

                                  @world101 lcd.print is a micropython command, you use the Label show block which is the first block I put under the setup bock in the screen grab I posted above.

                                  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
                                  • G
                                    gadjet @world101
                                    last edited by

                                    @world101 It's in the "Graphic" group
                                    ![LCD.Print](image url)

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