Skip to main content
UHern.1
Visitor II
Sep 27, 2022 5:41 PM UTC
Solved

How can I scale buttons and sliders at TouchGFX 4.20?

How can I scale buttoms and sliders at TouchGFX 4.20?

I am using it to code an app for the STM32F746G-DISCO and I want to resize buttoms and sliders.

Is it possible?

This topic has been closed for replies.
Yoann KLEIN
Yoann KLEINBest answer
ST Employee
Sep 28, 2022 7:43 AM UTC

Hello @Unai Hernández​ ,

To resize buttons in TouchGFXDesigner, you can use a FlexButton widget. That will enable you to modify the dimensions, and the shape of your button.

For sliders, that will depend on the images you wanna use for Background and Indicator. If you want to increase the size of your widget, choose bigger images or create your own and include them in the project.

Hope that this helps,

/Yoann

Yoann KLEINST Software Developer | TouchGFX

3 replies

Yoann KLEIN
Yoann KLEINBest answer
ST Employee
Sep 28, 2022 7:43 AM UTC

Hello @Unai Hernández​ ,

To resize buttons in TouchGFXDesigner, you can use a FlexButton widget. That will enable you to modify the dimensions, and the shape of your button.

For sliders, that will depend on the images you wanna use for Background and Indicator. If you want to increase the size of your widget, choose bigger images or create your own and include them in the project.

Hope that this helps,

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Visitor II
Oct 10, 2024 3:04 PM UTC

What a piece of ***! You cant even resize buttons, sliders, text boxes to fit on your screen. A total waste of time.

Visitor II
Oct 10, 2024 3:05 PM UTC

I said C R A P !