Skip to main content
achan.12
Associate II
July 4, 2019
Question

A scroll wheel bug in Designer

  • July 4, 2019
  • 1 reply
  • 630 views

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.

This topic has been closed for replies.

1 reply

achan.12
achan.12Author
Associate II
July 4, 2019

Sorry , Is my mistake .

It's right for 4.