We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20f3a4 commit 1c6b168Copy full SHA for 1c6b168
examples/dropevent.py
@@ -20,6 +20,7 @@ def main():
20
screen_size = (640, 480)
21
surf = pygame.display.set_mode(screen_size)
22
font = pygame.font.SysFont("Arial", 24)
23
+ font.align = pygame.FONT_CENTER
24
clock = pygame.Clock()
25
26
spr_file_text = font.render("Feed me some file or image!", 1, (255, 255, 255))
0 commit comments