cancel
Showing results for 
Search instead for 
Did you mean: 

A scroll wheel bug in Designer

achan.12
Associate II

I have to try used the scroll wheel item in my design.

I set the Item Template and set number of items to 7, but the code of viewbase.hpp always 4 and viewbase.cpp is 7.

Code is like below.

.hpp :

touchgfx::ScrollWheel scrollWheelFile;

  touchgfx::DrawableListItems<WheelListFile, 4> scrollWheelFileListItems;

.cpp :

scrollWheelFile.setNumberOfItems(7);

How to fix this bug?

Thanks.

1 REPLY 1
achan.12
Associate II

Sorry , Is my mistake .

It's right for 4.