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

Compress Grid measurements for star rows/columns #10073

Merged
merged 1 commit into from
Sep 14, 2022
Merged

Compress Grid measurements for star rows/columns #10073

merged 1 commit into from
Sep 14, 2022

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Sep 12, 2022

Description of Change

Grid measurements are returning the fully expanded values for star rows/columns when measuring a Grid with Fill alignment, rather than returning the minimum viable measurement values.

These changes modify the Grid measurement to return the smallest value which satisfies the constraints on measure.

Issues Fixed

Fixes #7531

… with stars;

Update GridLayoutManager to compress measurement for stars;
Fixes #7531
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Sep 12, 2022
@mattleibow
Copy link
Member

Just checking if this is meant for net6 SR or net7 RC2? main is now RC2.

@hartez
Copy link
Contributor Author

hartez commented Sep 12, 2022

Just checking if this is meant for net6 SR or net7 RC2? main is now RC2.

It's in the iteration plan for net7.

@Redth Redth added this to the 7.0-rc2 milestone Sep 14, 2022
@PureWeen PureWeen self-assigned this Sep 14, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Measure not working correctly on Layouts with fixed size constraints
5 participants