How to change fontsize with pygame_gui?

90 Views Asked by At

New to this package, unsure how to change a labe like this:

Want to make the font size larger...

problem_label = pygame_gui.elements.UILabel(
    relative_rect=pygame.Rect((300, 100), (200, 80)),
    text= generate_problem(),
    manager=manager,
)

Tried some online stuff, documentation wasn't helpful.

0

There are 0 best solutions below