282 views
in GUI Development by
Hi Team,

I am currently working with the outline slide touch handler for scrolling functionality. I have noticed that the scroll speed could be improved, and I would appreciate any suggestions or best practices you might have to optimize performance.

Could you please share the possible ways to enhance the scroll speed using this approach?

Thank you for your support.

Best regards,
Vinoth W.

1 Answer

0 votes
by

Hello Vinoth,

scrolling the content of an Outline Box affects in fact the position of the views/components controlled by the Outline Box. The more views/components are involved, the more time intensive the position update. Also, the more complex the composition of the components, the more time needed to redraw them after each position change. Finally, the performance is limited by the capabilities of the target system, the CPU, memory band width, etc.. Without knowing your implementation and your target, it is difficult to deduce what is wrong in your use case.

Generally you would have following three options to optimize the update:

1. Reduce the number of views/components controlled by the Outline Box.

2. Reduce the complexity of the components controlled by the Outline Box.

3. If you have enough RAM, you can configure the components controlled by the Outline Box to be 'buffered'. This reduces the time to redraw the component when it is scrolled. See also Control the visibility of nested components.

Best regards

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...