Associate II
June 2, 2021
Solved
ScrollList can only host 6 items?
- June 2, 2021
- 2 replies
- 936 views
version: touchGFX Designer 4.16.1
I generated a ScrollList to contain 8 items
In the .touchGFX project (attached) I can see the expected lines
"Type": "ScrollList",
"PaddingBefore": 0,
"PaddingAfter": 0,
"Snapping": false,
"IsHorizontal": false,
"IsCircular": false,
"ItemTemplateName": "lightSliderGroup",
"NumberofItems": 8,However in the base class of the generated code I see this:
touchgfx::ScrollList lightGroupList;
touchgfx::DrawableListItems<lightSliderGroup, 6> lightGroupListListItems;The odd thing is that 8 items actually got created, however in my case the slider value of the last 2 items always follow the value of the first 2 items in the list?
Hacking that line to change it from 6 to 8 does not fix the issue either.
Am I missing something or is this a bug? If so, is there any workaround?
