You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only happens in the start. Switching to another character and returning to the first character fixes the alignment.
I can't seem to figure out what the problem is. I've tried forcing a resize (.chsize) when initially loading the character selection screen - but no success so far.
The text was updated successfully, but these errors were encountered:
This bug really goes on my nerves, it's not logical in anyway. I will feel really satisfied, and possibly annoyed(because it took so long to find the bug), when I find out what's causing trouble.
Back to the issue itself: It's as if pgu (the GUI toolkit we use) is unable to align the first character's name properly. This is, however, done properly on the next characters, due to pgu telling itself that the label has changed and therefore needs to align it properly, depending on the width of the character name.
So the problem seems to be that pgu is unable itself this on the first lblPlayerName assign.
We might be able to hack around this, by forcing in a self.lblPlayerName.chsize(), which should force pgu to recognize a label change.
This only happens in the start. Switching to another character and returning to the first character fixes the alignment.
I can't seem to figure out what the problem is. I've tried forcing a resize (.chsize) when initially loading the character selection screen - but no success so far.
The text was updated successfully, but these errors were encountered: