Skip to main content
Associate
Oct 24, 2025 10:11 AM UTC
Solved

Touchgfx text area (linespacing)

Hi, 

i would need information about setLineSpacing (int16 space) method in textarea widget.

Documentation says that it's used for increasing space between lines, but the parameter "space" defines the space in pixel or other unit measurement ?

Thanks a lot anyone can help me

 

This topic has been closed for replies.
ferro
ferroBest answer
Lead
Oct 24, 2025 10:42 AM UTC

Hi @bobbi5 

"the parameter "space" defines the space in pixel"

Seems so, yes

 

\include\touchgfx\widgets\TextArea.hpp

ferro_0-1761302430486.png

 

2 replies

ferro
ferroBest answer
Lead
Oct 24, 2025 10:42 AM UTC

Hi @bobbi5 

"the parameter "space" defines the space in pixel"

Seems so, yes

 

\include\touchgfx\widgets\TextArea.hpp

ferro_0-1761302430486.png

 

bobbi5Author
Associate
Oct 24, 2025 10:49 AM UTC

Hi @ferro , thank you so much