✅ Solved: Access FontSize from Textfitting

Hello there,

I am currently checking out if Rive can solve the challenges I have with our current rendering setup. Therefore, I have decided to directly go for a bigger challenge. Here it comes.

I want to create an art board with four texts which should

  • fit as well as possible in their box

  • all have the same font size

So, I would like to

  1. get the size Rive computed from text fitting for all 4 boxes

  2. take the minimum of the 4 values

  3. set that minimum as the font size of all 4 boxes

Is this possible in Rive? Of course, it will take a little bit of programming but if it can be achieved in the editor somehow, I would be quite impressed.

Thanks a lot!

Captain Fim