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

Tighten the spacing on Android DetailedList. #2338

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Jan 12, 2024

Reported via beeware/briefcase#1600

The padding around DetailedList on Android is a little too generous. With the recent Icon Button changes converging on "48px" as the default size for an icon, allowing for 8px padding on each side, the row need only be 56px tall. The icon was previously 50px, with 10px padding - but the row was 80px tall, so there's effectively 30 px between icons.

Old | New

Functionally, it means an extra 2 rows can be displayed on a standard phone.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@mhsmith mhsmith merged commit 05c13a2 into beeware:main Jan 14, 2024
35 checks passed
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.

2 participants