Skip to main content
MWate.1
Associate
Jul 19, 2020 23:44 UTC
Solved

How to calculate the height of TextArea?

I have a TextArea with a font size for example - 24 and it has a resizeHeightToCurrentText method. How do I prematurely calculate the height myself? Is it possible to get the width of a single glyph?

This topic has been closed for replies.
Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
Sep 1, 2020 14:20 UTC
TextArea::getTextHeight()

2 replies

Alexandre RENOUX
Visitor II
Aug 17, 2020 10:19 UTC

Hello,

What's your current status ?

/Alexandre

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
Sep 1, 2020 14:20 UTC
TextArea::getTextHeight()