Cannot access certain elements in a ScrollList
Hello ,
I am working on a TouchGFX project with STM32f746-DISCO board
In one of my screens I have a scrollable list ( ScrollWheel object ) with 10 items.
The list is displayed correctly with the 10 items drawn on the screen.
However when I access listItems[7] ~ listItems[9] through code, the program crashes
I found this after trying to invalidate() for each item. I was able to reach until the 7th item only. And a crash occur whenever I try to reach anything beyond that.
The problem I think comes form ScreenViewBase.hpp file:
/*
* Member Declarations
*/
touchgfx::DrawableListItems<ChannelRow, 7> listItems;TouchGFX keeps generating this line with size set to 7. no matter what is the value entered in the designer.
I tried changing the number of items from the designer to values less and higher than 7. With no success.
this file is write protected, and even when editing the value using external tools, TouchGFX keep regenerating this value.
I hope I am missing something and this is not a bug.
