Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize all submenus #453

Closed
anxuae opened this issue Mar 7, 2023 · 3 comments · Fixed by #454
Closed

Resize all submenus #453

anxuae opened this issue Mar 7, 2023 · 3 comments · Fixed by #454

Comments

@anxuae
Copy link
Contributor

anxuae commented Mar 7, 2023

Environment information

  • OS: Mac OSX
  • python version: v3.7
  • pygame version: v2.x
  • pygame-menu version: v4.3.8

Describe the bug
When resizing menu using menu.resize(width, height), submenu are not resized.

Expected behavior
Is there any easy method to pass new size to all submenus?

@ppizarror
Copy link
Owner

Hello, @anxuae. I've added recursive parameter to the resize method in #454. Let me know if that solves your issue.

@anxuae
Copy link
Contributor Author

anxuae commented Mar 8, 2023

Hi @ppizarror

Thanks a lot for the quick fix, it's working perfectly!
pygame-menu is really a wonderfull project 😃

@ppizarror
Copy link
Owner

Super. I'll merge and upload to PyPI right now. Greetings!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants