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

GridLayout -> Grid to reduce confusion #3865

Merged
merged 3 commits into from
Jan 18, 2022
Merged

GridLayout -> Grid to reduce confusion #3865

merged 3 commits into from
Jan 18, 2022

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Dec 27, 2021

The naming of GridLayout (and the inclusion of the Grid subclass for ease of upgrading) is causing a lot of confusion. So I'm proposing we go for clarity over consistency and simply leave the name as Grid.

@hartez hartez added proposal/open area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter labels Dec 27, 2021
@hartez hartez marked this pull request as draft December 29, 2021 18:59
@chris-ux
Copy link

chris-ux commented Jan 5, 2022

Just my own opinion, and by far not an important matter to me, but, I personally would rather have the consistency in the API and remove Grid subclass, or renaming the other "Layout" classes to their root name.

@hartez
Copy link
Contributor Author

hartez commented Jan 6, 2022

or renaming the other "Layout" classes to their root name

As much as I like that suggestion, we'd end up with AbsoluteLayout -> Absolute and RelativeLayout -> Relative.

@hartez hartez marked this pull request as ready for review January 11, 2022 17:55
@hartez hartez enabled auto-merge (squash) January 11, 2022 17:56
Copy link
Contributor

@jsuarezruiz jsuarezruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Waiting for the Build.

@hartez hartez merged commit 77faf40 into main Jan 18, 2022
@hartez hartez deleted the grid-sans-layout branch January 18, 2022 21:10
@Redth Redth added this to the 6.0.200-preview.13 milestone Jan 27, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
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 proposal/open
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants