We have a custom attr for scaling text down to fit fixed sizes boxes:
https://github.com/Rando-Mania/RandoTracker/blob/master/LAYOUT_DOCUMENTATION_V2.md#scale-to-fit-x
This has always been a pain. Trouble shooting when something goes wrong isn't always straight forward. Folks have also asked for a fit Y version but this will just make things more complicated.
Enter Chrome prototyping native CSS fit-width properties in Canary 145. It looks promising but is very early right now. This will be the way to go with this once supported by enough browsers and enough versions of OBS's browser source:
https://github.com/explainers-by-googlers/css-fit-text/blob/main/README.md
https://nerdy.dev/css-text-grow
We have a custom attr for scaling text down to fit fixed sizes boxes:
https://github.com/Rando-Mania/RandoTracker/blob/master/LAYOUT_DOCUMENTATION_V2.md#scale-to-fit-x
This has always been a pain. Trouble shooting when something goes wrong isn't always straight forward. Folks have also asked for a fit Y version but this will just make things more complicated.
Enter Chrome prototyping native CSS fit-width properties in Canary 145. It looks promising but is very early right now. This will be the way to go with this once supported by enough browsers and enough versions of OBS's browser source:
https://github.com/explainers-by-googlers/css-fit-text/blob/main/README.md
https://nerdy.dev/css-text-grow