2022-02-04 04:04 AM
2022-02-07 12:35 AM
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