Skip to content

Conversation

@HansMuller
Copy link
Contributor

Force GridTileBar heights to match the Material spec (https://material.google.com/components/grid-lists.html#grid-lists-specs) and simplify their layout a little.

Correct one more Scaffold body demo layout bug.

Fixes #6836

Copy link
Contributor

Choose a reason for hiding this comment

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

bad indent

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe SizedBox.expand?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that would be WAY better.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why are there only two cases now? I Would have expected the trailing == null and trailing != null cases to be treated differently.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, if there's no trailing widget the right pad should be 16, not 8.

@abarth
Copy link
Contributor

abarth commented Nov 15, 2016

LGTM

@HansMuller HansMuller merged commit f496ad0 into flutter:master Nov 15, 2016
@HansMuller HansMuller deleted the grid_demo_fixes branch November 15, 2016 20:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
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.

GridTileBar doesn't seem to respect Material design's spec

2 participants