2 pages of buttons problem #1906
Unanswered
neovic1
asked this question in
Q&A - Touch
Replies: 1 comment 4 replies
-
The simplest approach is to disable the touch handling for those buttons when the screen is changed. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. I haven't seen a solution for this anywhere. I have created a simple main screen with 2 buttons. I want each one of them to go to another screen/page and I suceeded in that but the problem is that the first buttons always remain there (hidden but you can still touch their coordinates and make them appear) even though I clear the screen with the tft.fillscreen method. If I create new buttons on the second and third screens that are at the same position of the ones at the main screen, they overlap. Why? Anyone knows how to solve this? It seems that I need a different method to TRULY clear the screen and all its previous components.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions