cancel
Showing results for 
Search instead for 
Did you mean: 

About ScrollWheel::setOvershootPercentage()

fuka_m
Associate II

This is a question about ScrollWheel::setOvershootPercentage(uint8_t percentage) added in TouchGFX v4.19.0.

setOvershootPercentage() works as expected for ScrollList, but not for ScrollWheel.

(There is no change in behavior regardless of the setOvershootPercentage() value.)

When I check the source code of ScrollWheel, the process is as follows.

In ScrollBase::handleDragEvent(), refer to "overshootPercentage" set in setOvershootPercentage() and perform operation processing when dragging.

However, for ScrollWheel, the parent class, ScrollWheelBase, overrides handleDragEvent(), so I think that it is a problem behavior without referring to "overshootPercentage".

If this is the cause, is there any plan to support it in the framework?

I have attached a sample project, so please point out if there are any problems.

(Created with TouchGFX v4.20.0 (Windows Simulator).

 The same behavior when creating with STM32H7B3I-DK. )

Thanks in advance.

2 REPLIES 2
Osman SOYKURT
ST Employee

Hello fuka_m,

Thanks for your question, I'll investigate on that and get back to you later with conclusions.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
fuka_m
Associate II

Thank you for your answer.

I look forward to your reply.