Hello!
I have issues getting the correct text height.
The result is that letters like g, j, q, y are cut and that the text is not centered correctly inside the buttons.
Is it true that the height of letters like g, j, q, y, which pass the imaginary bottom y-line of the letters (red line), are not correctly calculated? It seems to me that Text.TextHeight is only calculated from that imaginary line to the top (red arrows).
It's a bit hard to describe what I mean so I tried to skatch it. How can I calculate the pixel height between the violet arrows?
This is the function that I'm using to create buttons.