omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Button Flash on Text Change

    Pythonista
    2
    2
    1022
    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.
    • vincityhn1
      vincityhn1 last edited by

      In the UI module, when a button’s text is changed, the whole button flashes.
      Is it possible to remove this flashing?
      Thanks.

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @vincityhn1 last edited by

        @vincityhn1, you mean the text fades away, then the new text fades in? I do not see any property that would allow you to easily change that behavior.

        Maybe create a touch-transparent label with same dimensions & location & text, change the original button text and bring it to the front, then throw away the ”fake button” or repurpose it for the next change?

        Or use touch-enabled Labels instead of buttons.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors