pygame-menu icon indicating copy to clipboard operation
pygame-menu copied to clipboard

update_font() in ToggleSwitch does not update state_text_font_size

Open anetanel opened this issue 1 year ago • 0 comments

I hope I'm not missing something obvious.. I'm changing the size of the widget font when the size of the window changes, by calling update_font() for each widget in the menu. It works well for all the widgets, except for the state text inside the toggle switch, which stays the same size it was initialized. I could not find a function that updates the state text...

anetanel avatar Sep 02 '22 08:09 anetanel