libgdx - TextButton doesn't update its label text -


i have textbutton inside stack , after change style , update text see no text in label. used settext method in render(float delta) no luck. should mention prior calling settext method stack contained picture, covered labell cell of textbutton, removed.

why isn't text getting updated?

if anyone's having issue make sure don't have label set hide(). had hidden when lock picture displayed on textbutton. adding line below solved issue:

button.getlabel().addaction(actions.show()); 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -