Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Conversation

@paymicro
Copy link
Contributor

@paymicro paymicro commented Jun 4, 2018

Description of Change

Added support 0* RowDefinition in Grid

Bugs Fixed

API Changes

/

Behavioral Changes

RowDefinition "0*" have zero height

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard
  • Consolidate commits as makes sense

@rmarinho rmarinho requested a review from jassmith June 4, 2018 17:17
if (!row.Height.IsStar)
continue;
starRowHeight = Math.Max(starRowHeight, row.ActualHeight / row.Height.Value);
starRowHeight = row.Height.Value != 0 ? Math.Max(starRowHeight, row.ActualHeight / row.Height.Value) : 0;
Copy link
Member

Choose a reason for hiding this comment

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

apply to column as well

@paymicro paymicro changed the title [Core] Fixes '0*' RowDefinition in Grid [Core] Fixes '0*' RowDefinition/ColumnDefinition in Grid Jun 5, 2018
@StephaneDelcroix StephaneDelcroix changed the base branch from master to 3.1.0 June 5, 2018 15:32
@StephaneDelcroix StephaneDelcroix changed the base branch from 3.1.0 to master June 5, 2018 15:32
@StephaneDelcroix
Copy link
Member

could you please rebase it on top of 3.1.0

@StephaneDelcroix StephaneDelcroix added the retarget-branch-required PR or associated issues target a milestone. Please target this PR to the matching branch. label Jun 5, 2018
@xamarin-release-manager xamarin-release-manager added the API-change Heads-up to reviewers that this PR may contain an API change label Jun 5, 2018
@paymicro paymicro changed the base branch from master to 3.1.0 June 5, 2018 16:54
@paymicro
Copy link
Contributor Author

paymicro commented Jun 5, 2018

@StephaneDelcroix sure. Done.

@StephaneDelcroix StephaneDelcroix removed the retarget-branch-required PR or associated issues target a milestone. Please target this PR to the matching branch. label Jun 5, 2018
@StephaneDelcroix
Copy link
Member

@paymicro thx

@rmarinho rmarinho merged commit 67dfb16 into xamarin:3.1.0 Jun 5, 2018
@paymicro paymicro deleted the fix-gh2757 branch June 6, 2018 09:17
@samhouts samhouts added this to the 3.1.0 milestone Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a/grid a/layout API-change Heads-up to reviewers that this PR may contain an API change t/bug 🐛

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants