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

When the ScrollBar is set to Visibility::AlwaysVisible, scrolling is always possible & contains pointer #4412

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Apr 25, 2024

Issues :

Pull requests :

When the ScrollBar is set to Visibility::AlwaysVisible, scrolling is always possible & contains pointer

This way we can scroll wherever we want at any time.
(e.g. find string)

  1. If used direct, it will not affect other ScrollAreas.
    If you use the smooth, you can affect other ScrollArea.
    Still, it may be better to use it this way.

  2. May be, Where Scroll is needed (plot?) in egui, ui.ctx().create_scroll_delta(inner_rect) should be called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scroll_with_delta doesn't work
1 participant