Skip to main content
UHern.1
Visitor II
September 27, 2022
Solved

How can I scale buttons and sliders at TouchGFX 4.20?

  • September 27, 2022
  • 1 reply
  • 1855 views

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?

Best answer by Yoann KLEIN

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

1 reply

Yoann KLEIN
Yoann KLEINBest answer
ST Employee
September 28, 2022

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

Associate
October 10, 2024

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

Associate
October 10, 2024

I said C R A P !