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

WinUI-only ScrollBarHandler #1671

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Jul 14, 2021

Just the WinUI bits of #1669, minus the changes to PropertyMapper/Actions.

@Redth Redth merged commit 5c159aa into release/6.0.1xx-preview6 Jul 14, 2021
@Redth Redth deleted the winui-scrollview branch July 14, 2021 10:30
Redth pushed a commit that referenced this pull request Jul 20, 2021
Redth added a commit that referenced this pull request Jul 20, 2021
* WinUI-only ScrollBarHandler (#1671)

* Re-measure scrollviewer on native arrange

The scrollviewer seems to need to measure again when the handler is being native arranged.  Simply calling .arrange on the native view didn't reset the size to the requested bounds, it needs to be told to resize first, otherwise it stays >= the content size.

* Resize root panel content on window size changed

This resizes the root panel's contents when the window size changes

* Measure Page in RootPanel MeasureOverride

* Remove defunct code from demos

* Modify ScrollView to allow native measure in addition to content measure

Co-authored-by: E.Z. Hart <hartez@users.noreply.github.com>
Co-authored-by: E.Z. Hart <hartez@gmail.com>
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2023
@samhouts samhouts added the fixed-in-6.0.100-preview.6 Look for this fix in 6.0.100-preview.6! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants