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

Account for starting coordinates when handling layout alignment #1158

Merged
merged 2 commits into from
Jun 4, 2021

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Jun 2, 2021

Description of Change

Layout alignment was not accounting for the rectangle's X,Y coordinates when handling Center and End alignments. This would result in situations where multi-column or multi-row GridLayouts would have items from rows/columns beyond the first showing up in the first row/column if their alignment was Center or End.

This fixes that.

@PureWeen
Copy link
Member

PureWeen commented Jun 4, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Redth Redth merged commit 4c40a6c into main Jun 4, 2021
@Redth Redth deleted the fix-layoutalignment branch June 4, 2021 12:03
@samhouts samhouts added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Jul 11, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2023
@samhouts samhouts added the fixed-in-6.0.100-preview.5 Look for this fix in 6.0.100-preview.5! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter fixed-in-6.0.100-preview.5 Look for this fix in 6.0.100-preview.5!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants