Make text fit ImageComponent's size #679
Replies: 2 comments
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2019-07-30 15:08:18
User: CalvinMT [] (age: 1451 days 🔥; posts: 114)
Hi!
It appears that a text won't adjust its size automatically based on the ImageComponent's size to ~~**~~FIT** it. I looked for related methods but couldn't find anything, so I'm suggesting it here.
I tried setting the font's size higher, but I don't really want to fiddle with the font size of each text I've got. Moreover, adjusting font size gets tricky if the text can't ~~*~~VAlign* to center and contains letters going under the baseline like the letters 'g' and 'p' (~~~~see image here).
Any thoughts on the matter?
Beta Was this translation helpful? Give feedback.
All reactions