MyreMylar/pygame_gui

Button doesnt show propper text when disabled

Closed this issue · 2 comments

Describe the bug
When the button is disabled and the text is changed it goes back to the first text it had

To Reproduce
Steps to reproduce the behaviour:

  1. Create a button
  2. Use set_text to change the text on runtime
  3. Disable the button

Expected behaviour
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform and software (please complete the following information):

  • OS: Windows
  • Pygame GUI version: latest
  • Pygame-ce version: latest

Additional context
Add any other context about the problem here.

I checked and if you rebuild it before disable it works properly but that shouldnt be how to do it

This should be fixed now in main.