+ 1

Shrinking font

How to make it so if there is to many characters then the font will shrink to let the text fit inside

31st Mar 2025, 1:15 AM
Ming
Ming - avatar
2 Answers
+ 3
Ming do you have access to AI? I used ChatGPT to solve a similar problem recently. I went back to it for your request, and here is a demo that it generated (with comments and minor tweaks by me): https://sololearn.com/compiler-playground/Wq60bOiXRdgo/?ref=app
31st Mar 2025, 3:16 PM
Brian
Brian - avatar
+ 2
Thanks
31st Mar 2025, 4:15 PM
Ming
Ming - avatar