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
I just wanted to describe my issue & solution in case others have it too.
Problem:
pygrid was placing the windows slightly wrong in the left side (I have a bar) and the upper side (another bar).
Bad
Good
Issue:
Documentation says
'padding': [0, 0, 0, 0], // additional top, right, bottom, left padding in pixels.
but it does not mention if the padding is absolute (regarding the whole screen) or relative (of each window relative to other windows and screen borders). (Or maybe I don't understand what padding is).
Solution:
After some playing around, I found that just by modifying the padding values, the wrong offset in the upper and left sides gets corrected.
Hello,
I just wanted to describe my issue & solution in case others have it too.
Problem:
pygrid was placing the windows slightly wrong in the left side (I have a bar) and the upper side (another bar).
Bad
Good
Issue:
Documentation says
'padding': [0, 0, 0, 0], // additional top, right, bottom, left padding in pixels.
but it does not mention if the padding is absolute (regarding the whole screen) or relative (of each window relative to other windows and screen borders). (Or maybe I don't understand what padding is).
Solution:
After some playing around, I found that just by modifying the padding values, the wrong offset in the upper and left sides gets corrected.
(on my case)
"padding": [24,0,0,28],
For reference I include the whole subsection
The text was updated successfully, but these errors were encountered: