TextAreaWithOneWildcard Scaling/Zooming
Hi,
Is it possible to zoom in on a text?
I'm trying to create a scrollList with the selected element larger than the rest.
Thanks!
Hi,
Is it possible to zoom in on a text?
I'm trying to create a scrollList with the selected element larger than the rest.
Thanks!
Hi,
Yes this is possible. One easy way if your text is already known and wont be changed would be to "cheat" by using an image of the text instead. You then use a TextureMapper widget to scale your image/text when you want.
The other solution I am not accustomed to :grinning_face_with_sweat:, I've never dived into the code. You can have a look at the Board Specific Demo called "STM32H7B3I Evaluation Board Text Animation". When running the demo look at the advanced animations. In TouchGFX Designer and the code look look at the Container "advancedAnimationContainer" and the "scalingTextTextureMapper" implementation.
/Romain
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.