Skip to main content
heyo
Associate III
Mar 10, 2023 10:29 AM UTC
Solved

Scale image

Can I scale image with TOUCHGFX at runtime? I need to change image width depends on text long

This topic has been closed for replies.
Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Mar 10, 2023 11:14 AM UTC

Hello heyo,

Yes it's exactly what a texture mapper widget is meant for :)

I invite you to have a look on the "Scale and Zoom Example" we provide on TouchGFX Designer, it does what you asked.

0693W00000aIfPlQAK.png 

/Osman

ST Software Developer | TouchGFX

2 replies

MM..1
Super User
Mar 10, 2023 10:55 AM UTC

Yes

Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Mar 10, 2023 11:14 AM UTC

Hello heyo,

Yes it's exactly what a texture mapper widget is meant for :)

I invite you to have a look on the "Scale and Zoom Example" we provide on TouchGFX Designer, it does what you asked.

0693W00000aIfPlQAK.png 

/Osman

ST Software Developer | TouchGFX