Text Element: fit to box

There is already a functionality for text elements that adjusts the font size so that a text fits to a given width.

I would really appreciate two alternative options:

  1. Fit to height: Font size is adjusted automatically so that the text uses full specified height
  2. Fit to box: Font size is adjusted automatically so that the text is scaled so that it fits in a box of which the user can specify width and height.
    The text should not be squeezed in the box; it is only scaled until either it is as high as the box, oder it is as wide as the box.

Fit to BOX added, fit to Height doesnt make sense, you can have the same with fit to box using high width

Will be availble in 3.46