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

Add scrollbinding to all scrolled descendants #263

Merged
merged 2 commits into from
Apr 20, 2022

Conversation

israel-dryer
Copy link
Owner

Previously scroll binding was only applied to the direct children of the scrolled frame. However, if another container was placed inside the scrolled frame then those widgets would prevent the scroll event from being caught. So, I created two recursive methods for adding and removing the scroll binding for all of the descendants of the scrolled frame.

@israel-dryer israel-dryer merged commit f262f57 into master Apr 20, 2022
@israel-dryer israel-dryer linked an issue Apr 20, 2022 that may be closed by this pull request
@israel-dryer israel-dryer deleted the Add-scrollbinding-to-all-scrolled-descendents branch July 21, 2022 14:33
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.

ScrolledFrame scrolling doesn't work with LabelFrame
1 participant