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

Enable ScrollViewer Zoom and add tab stop #1091

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

bpulliam
Copy link
Contributor

@bpulliam bpulliam commented Oct 4, 2022

Description

At startup time ZoomModeComboBox_SelectionChanged is called, but ZoomSlider is still Null. So Control1.ZoomMode remains ZoomMode.Disabled. You end up with a UI that says ZoomMode is Enabled when in fact its Disabled.

This change has fixed two issues on ScrollViewer:
Zoom not working
ScrollViewer not getting focus.

Motivation and Context

Zoom in/ out on Scrollbar in XCG is not working.

How Has This Been Tested?

Touch works
Ctrl +/- works
Zoom ctrl works
Ctrl + mouse wheel works

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@bpulliam bpulliam merged commit 8088caf into microsoft:main Oct 4, 2022
@bpulliam bpulliam deleted the user/bpulliam/scrollviewer branch October 4, 2022 20:06
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.

None yet

2 participants