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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -