Skip to main content
MWate.1
Associate
July 19, 2020
Solved

How to calculate the height of TextArea?

  • July 19, 2020
  • 2 replies
  • 899 views

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.
Best answer by Martin KJELDSEN
TextArea::getTextHeight()

2 replies

Alexandre RENOUX
Visitor II
August 17, 2020

Hello,

What's your current status ?

/Alexandre

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
September 1, 2020
TextArea::getTextHeight()