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

Call correct Arrange logic from VE.Arrange #23997

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Aug 3, 2024

Description of Change

Continuing along with this trend, this PR shifts our VisualElement.Arrange to call IView.Arrange

The VE.Arrange in the MAUI code doesn't really do anything with regards to the MAUI layout system. Setting the Bounds/Frame directly won't really do anything. The Bounds and Frame on the MAUI layout system will just get set during the Arrange pass on the platform. If you want to influence the bounds or frame you have to subclass and override ArrangeOverride.

Setting the Bounds directly will really only cause things to happen inside the shims, but, that code will still continue to fire even with this change.

Issues Fixed

Fixes #17417

@PureWeen PureWeen requested a review from a team as a code owner August 3, 2024 17:23
@PureWeen PureWeen requested review from mattleibow and jsuarezruiz and removed request for a team August 3, 2024 17:23
@mattleibow
Copy link
Member

Why is this against the release branch and not net9.0?

@PureWeen
Copy link
Member Author

PureWeen commented Aug 5, 2024

Why is this against the release branch and not net9.0?

Because we typically PR against where the release is going and then merge up.

@PureWeen PureWeen merged commit d387de8 into release/9.0.1xx-preview7 Aug 5, 2024
75 of 76 checks passed
@PureWeen PureWeen deleted the fix_15439 branch August 5, 2024 14:09
@PureWeen PureWeen added this to the 9.0-preview7 milestone Aug 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants