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

Option to ensure scroll_to_center doesn't scroll so as to hide the top left corner of the widget #2682

Merged
merged 5 commits into from
May 31, 2023

Conversation

darrenburns
Copy link
Member

@darrenburns darrenburns commented May 29, 2023

I'm not sure how feasible it is to test this right now given the other scroll_to_center test is XFAIL pending a compositor bug fix.

Here's a video of the new behaviour. Notice that when we tab to the larger widgets, it doesn't scroll to the center of them. The top left of the widget remains in view. Previously, when we tabbed to them, the top of the widget was not visible.

scroll-center-change-29may23.mov
  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

@darrenburns darrenburns marked this pull request as ready for review May 29, 2023 14:47
@darrenburns darrenburns merged commit 7049014 into main May 31, 2023
@darrenburns darrenburns deleted the scroll-center-improvement branch May 31, 2023 15:13
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 to center should have an option to not go any further than the top
3 participants