Skip to content

Stabilize gallery status bar height computation - #5485

Merged
HansMuller merged 1 commit into
flutter:masterfrom
HansMuller:gallery_status_bar_height
Aug 18, 2016
Merged

HansMuller merged 1 commit into
flutter:masterfrom
HansMuller:gallery_status_bar_height

Conversation

@HansMuller

Copy link
Copy Markdown
Contributor

Avoid #5483 and make the gallery's home page a little more conventional.

Compute the status bar's height at build() time and use it to initialize the main block's padding instead of inserting a padding list item at initState() time.

Fixes #5368

@HansMuller

Copy link
Copy Markdown
Contributor Author

cc @jason-simmons

@eseidelGoogle

Copy link
Copy Markdown
Contributor

Anything useful to test here?

@HansMuller

Copy link
Copy Markdown
Contributor Author

I don't think so. When there's a fix for #5483 we should include a regression test.

@jason-simmons

Copy link
Copy Markdown
Contributor

LGTM

@HansMuller
HansMuller merged commit 7b2f660 into flutter:master Aug 18, 2016
@HansMuller
HansMuller deleted the gallery_status_bar_height branch August 18, 2016 19:41
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 15, 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.

Gallery: sometimes, on Android, the word "Demos" is half-way under the app bar on launch

3 participants