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

TabbedPane wheel scrolling #187

Merged
merged 10 commits into from
Oct 14, 2020
Merged

TabbedPane wheel scrolling #187

merged 10 commits into from
Oct 14, 2020

Conversation

DevCharly
Copy link
Collaborator

This PR adds scrolling tabs with mouse wheel or trackpad (if mouse is over tabs area).
The two arrow buttons are now larger and do repeat scrolling as long as pressed.

tabbedpane-wheel-scrolling1
tabbedpane-wheel-scrolling2

This is first part of TabbedPane improvements as discussed in issue #40.

CC @smileatom @Chrriis

…mouse exits scroll viewport after wheel scrolling (issue #40)
…r wheel scrolling) if the mouse is over a custom tab component that handles mouse events (e.g. a close button)
…moved to custom tab component that handles mouse events (e.g. a close button)

refactored PropertyChangeListener to class Handler
- fixed jittery animated scrolling tabs
- support disabling animated scrolling with "ScrollPane.smoothScrolling=false"
(cherry picked from commit 0888fd8)
@DevCharly DevCharly mentioned this pull request Oct 12, 2020
@DevCharly DevCharly merged commit ae445c9 into master Oct 14, 2020
@DevCharly DevCharly added this to the 0.44 milestone Oct 14, 2020
@DevCharly DevCharly deleted the tabbedpane-wheel-scrolling branch October 17, 2020 14:48
DevCharly added a commit that referenced this pull request Nov 1, 2020
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.

1 participant