how to rewrite the label of a button?
What MCU/Processor/Board and compiler are you using?
What do you want to achieve?
I create a button ,and add a label “button A” to it, then I want to rename the label when I clicked the button, and turn to “btn B”
What have you tried so far?
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
## Screenshot and/or video If possible, add screenshots and/or videos about the current state.