Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Scroll and Zoom Gestures in Slint #6704

Open
worldyuan opened this issue Nov 3, 2024 · 1 comment
Open

Support for Scroll and Zoom Gestures in Slint #6704

worldyuan opened this issue Nov 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@worldyuan
Copy link

worldyuan commented Nov 3, 2024

  • Description

I would like to request support for implementing scroll and zoom gestures within a Slint interface. Currently, I am able to implement scrolling using Flickable, but zooming functionality through gestures (such as pinch-to-zoom) seems to be lacking.
Steps to Reproduce

scroll-event(e) add e.delta-distance event.report two finger distance.
  • Expected Behavior

I expect to be able to use pinch gestures to zoom in and out on the content within the Flickable, dynamically resizing the elements while maintaining their layout.
Actual Behavior

Currently, there is no built-in support for zoom gestures in Slint, making it difficult to create a smooth user experience for zooming in and out on content.

  • Code Snippet
    Example: Maps

  • Platform: Linux、Windows、Android

  • Programming Language: Rust

@FloVanGH FloVanGH added the need triaging Issue that the owner of the area still need to triage label Nov 4, 2024
@ogoffart
Copy link
Member

ogoffart commented Nov 4, 2024

Thanks for filing an issue.
Gesture with multiple finger are indeed not yet possible.

See also:

@ogoffart ogoffart added enhancement New feature or request and removed need triaging Issue that the owner of the area still need to triage labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants