Questions tagged [pygame-gui]

7 questions
1
vote
1 answer

Why do these letters work in Linux and not Windows, and how do I fix it?

I'm working on translating a game made using Pygame/Pygame GUI into Norwegian, and it's been mostly working, except for the special letters! "æ", "ø", and "å" have been showing up as garbled gibberish, which essentially looks like AndvÃ╎rhÃ¥r I…
AriArtsy
  • 11
  • 3
1
vote
1 answer

How to assign a pygame_gui Button to a specific surface

I'm currently working on a project based on pygame. It is the first time I'm attempting a project like this. I choose to try the pygmae_gui library in order to (who wold have guessed) implement a GUI to the project. I successfully added some buttons…
0
votes
0 answers

UIProgressBar in Pygame_GUI. Filling the scale of progress bar

I'm trying to figure out how to make the progress bar fill the scale not from 100% maximum, but from the maximum value I set. Because even after the definition maximum_progress on 10, and current_progress in 10, scale filling on 10%, not 100%, as I…
0
votes
1 answer

pygame_gui events not firing

I am trying to do something I have done before with no issue, that is use pygame_gui with pygame to detect when a UI button has been clicked. import pygame as pg import pygame_gui as pgg import tkinter as tk import tkinter.filedialog import…
ConnorP
  • 97
  • 1
  • 9
0
votes
0 answers

The UIScrollingContainer element bogs down and freezes

I am trying to use the UIScrollingContainer element in a project to overscan what i am drawing to a larger surface, then creaing a UIImage with that surface and making it be contained by the UIScrollingContainer. This works for a few seconds but…
bobombolo
  • 1
  • 1
0
votes
0 answers

Can't click the entry box to write in pygame_gui

I'm trying to use pygame_gui to ask some info to my app users, I'm able to display the entry box, the label and the button correctly but I can't click in the entry box to write and I don't know how to get the inserted input when pressing the "start"…
Diana Mele
  • 135
  • 8
0
votes
1 answer

pygame_gui textbox border styling

Been trying to use pygame_gui within a program I'm currently developing, however, been having some trouble with the text box element styling. I've taken a look at their example repos and docs and made a theme.json accordingly. At the moment, all I…
Kiana
  • 25
  • 7