Conversation
In one of the commits that added support for the mini, and further commits, a new 'btnSize' parameter was introduced. This however was not reflected in the algorithm that determines the size. Without this fix, the text was always too wide (90px is more than the 72px my stream deck has), and also no longer virtually centered. This commit should address both these issues. I've only tested this with the v2.
|
At least on mine (I have the XL), this makes the words a bit too wide, I think. Especially where there are borders, more of the edge letters get swallowed. The original setup intentionally had a little bit more breathing space around the edges, can we put something similar into this calculation? |
fb05f8d to
81e568b
Compare
|
I've just added a commit that creates two new functions, that allow you to set a margin to whatever you want. I like my text (in some cases) to use up the whole space. Right now, for the existing functions I added a default margin of 6. I think it would be better if the default was I don't really know whether |
In one of the commits that added support for the mini, and further commits, a new 'btnSize' parameter was introduced.
This however was not reflected in the algorithm that determines the size.
Without this fix, the text was always too wide (90px is more than the 72px my stream deck has), and also no longer virtually centred.
This commit should address both these issues.
I've only tested this with the v2.