Messed up linespacing in UI

I noticed that in Babylon 8.25 there is a problem with the line spacing layout in nested layouts. using Buttons or TextBox together with multiline texts (i.e. having a number of \n in them). Somehow the lines collaps to a tiny line-to-line distance far smaller than the fontsize which leads to the text being rendered on top of the previous line.

If you change the fontsize (the same size does not work!), this fixes it for the moment, but a moment later everything is messed up again.

I tried for a few hours to reproduce this in a workspace, but so far I failed.

For me I finally found a solution, which is setting:

`mycomponet.resizeToFit = true;`

Note that this problem did not appear in older versions. As far as I remember even Babylon 8.0 did not have this problem, so it must have been caused by some recent change.

Sorry for not being able to provide a workspace. I tried stackPanels etc, but somehow the problem only appreared in my large codebase, where I see it a lot, but not in the small playground. I was so far unable to pin it down.

cc @georgie

@RainerHeintzmann without a playground this will be hard to diagnose. I made this fix last month to remove error being wrongfully logged during resizeToFit, and in my testing of that PR i noticed that without the resizeToFit flag, text was indeed squished.

Can you share screenshots of the behavior you expect vs the behavior you see without the resizeToFit flag?

Update GUI control to be forgiving of text resizeToFit layout calculations by georginahalpern · Pull Request #16997 · BabylonJS/Babylon.js