Or alternatively fit text size to container?
You can use blocks to find out the actual size of the text area. Use this to work with fonts.
getComputedWidth and Height
Screen height and width in Device object? Or what …
Look for these blocks next to the setWidth and setHeight blocks in the components
font size not component size