Skip to main content
fuka_m
Associate II
August 23, 2022
Question

About ScrollWheel::setOvershootPercentage()

  • August 23, 2022
  • 2 replies
  • 1708 views

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.

This topic has been closed for replies.

2 replies

Osman SOYKURT
ST Technical Moderator
August 25, 2022

Hello fuka_m,

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

/Osman

ST Software Developer | TouchGFX
fuka_m
fuka_mAuthor
Associate II
August 26, 2022

Thank you for your answer.

I look forward to your reply.