Solved
This topic has been closed for replies.
I think I found the solution. I was looking at your code and didn't find anything different compared to mine. But looking at the Designer I noticed that I have set the Number of Items to 1 and you had 16. So I increased the value and now it's working. I thought this value is irrelevant, because the item count will be changed at runtime anyway.
Looking at the changes the code generator makes, this looks like a bug inside the TouchGFX lib when setting the Selected Item Offset to a value where no items exist at the moment of the function call (in the constructor of the parent screen/container):
swOutput.setNumberOfItems(1);
swOutput.setSelectedItemOffset(125);vs.
swOutput.setNumberOfItems(10);
swOutput.setSelectedItemOffset(125);Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
