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

Added window insets to the the main screen #1451

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

IanGClifton
Copy link
Contributor

Since the headder and the body (FlowRow) are sibling elements, we have to explicitly exclude the top inset, which we get by combining the bottom and the sides (horizontal). Tested with all the developer options notch settings and with both gesture nav and 3 button nav.

I did not override the navigationBarStyle since the default actually seems to work well. With three button nav, it has a partially transparent light background that helps the buttons stand out when content is behind them. With gesture nav, the bar stands out enough on its own.

This fixes #1450.

Since the headder and the body (FlowRow) are sibling elements, we have
to explicitly exclude the top inset, which we get by combining the
bottom and the sides (horizontal). Tested with all the developer options
notch settings and with both gesture nav and 3 button nav.

I did not override the navigationBarStyle since the default actually
seems to work well. With three button nav, it has a partially
transparent light background that helps the buttons stand out when
content is behind them. With gesture nav, the bar stands out enough on
its own.

This fixes #1450.
@IanGClifton IanGClifton requested a review from a team as a code owner August 28, 2024 23:10
@IanGClifton IanGClifton requested review from simona-anomis and riggaroo and removed request for simona-anomis August 28, 2024 23:10
@IanGClifton IanGClifton merged commit eec71f9 into main Aug 29, 2024
5 checks passed
@IanGClifton IanGClifton deleted the igc/window-insets branch August 29, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: JetLagged screens need enough padding for bottom insets
2 participants