Hi Cassius,
Thanks for your help, I settled for a compromise using Math.max(). Both boxes will become the same size if the gap is too small. It’s a bit of a hassle to set up with more than 2 boxes, but it is doable.
It works and performs surprisingly well given the amount of expressions involved.