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

Update window_resize.py #481

Closed
wants to merge 1 commit into from
Closed

Conversation

Statute8234
Copy link

Adding another example of how to scale the menu screen

@@ -7,55 +7,95 @@
"""

import pygame
import random, sys, math, time

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'math' is not used.
import pygame_menu
from pygame_menu import themes

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'themes' is not used.
@ppizarror
Copy link
Owner

Hi @Statute8234. Thanks for introducing a new example.

Please create a new file rather than updating the existing one with better documentation to show what is the intention of this script. Also, make sure you add that also to test/test_examples.py. Looking forward to new updates,

Pablo

@ppizarror ppizarror closed this Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants