pygame_gui
pygame_gui copied to clipboard
The shadowwidth of the default button and window is a little large. I want to reduce this value.
Under the default theme, when I create a button, it seems that there is still room for the button, but the button cannot display full text. When I create a window, the actual window size is 30 pixels smaller than expected. This is confusing. I hope to reduce the shadowwidth of the default theme to solve this problem.
I don't really want to change the default theming size, but I would like to add an alternative way to create a window or a panel that has a certain interior size (i.e. excluding title bars, borders, shadows. Probably a little shim class called something like InteriorDimensions()
that you could pass in and it would take the input size and output final dimensions that worked based on the current theming.
The text rendering getting clipped too tightly is a separate bug that has needed fixing for a while.
I don't really want to change the default theming size, but I would like to add an alternative way to create a window or a panel that has a certain interior size (i.e. excluding title bars, borders, shadows. Probably a little shim class called something like
InteriorDimensions()
that you could pass in and it would take the input size and output final dimensions that worked based on the current theming.The text rendering getting clipped too tightly is a separate bug that has needed fixing for a while.
The window is smaller than the screen. Black edges appeared.
I wanted to arrange the two windows tightly, but there was a 30px seam.
Small buttons cannot accommodate enough text. It looks like it can accommodate at least 4 letters, but in reality it displays two.
Resolved in #579