cancel
Showing results for 
Search instead for 
Did you mean: 

Hello. I am developing a graphical interface for the display using TOUCHGFX 4.17. When developing the interface, I use scroll list. The question is, can the elements in the scroll list be made with different heights?

SPerv.1
Associate II
 
1 REPLY 1
Romain DIELEMAN
ST Employee

Hi,

Never tried it myself so I don't have an example to share but I believe this should be possible (not 100% sure so give it a try).

ScrollLists uses Custom Containers as elements, I don't know what exactly you are trying to do and why so you would have to set the user code within it. If you look at the "Scroll Wheel and List example" available in TouchGFX Designer in the "Examples" tab when creating a new project, you can see that the the width and the height of the item are set in ImageContainerBase.cpp. You should not override this file as it will be overwritten when regenerating code from TouchGFX Designer, add your user code in imageContainer.cpp/hpp

/Romain