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

Fix inconsistency in margin application between ComposeUiBox and ViewBox #2478

Merged

Conversation

luis-cortes
Copy link
Collaborator

Relates to #2367

In compose ui, modifier order matters and applying padding before a background prevents the background from filling the box.


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

…iewBox`

Relates to #2367

In compose ui, modifier order matters and applying padding before a background prevents the background from filling the box.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This test is still pretty fucked, but the other one now matches 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I'm gonna try and fix this one next. Side note, I think #2464 broke emoji search for views.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yep #2476

@JakeWharton JakeWharton enabled auto-merge (squash) November 21, 2024 20:04
@JakeWharton JakeWharton merged commit 365b927 into cashapp:trunk Nov 21, 2024
11 checks passed
@luis-cortes luis-cortes deleted the luiscortes/fix-compose-ui-box-margins branch November 21, 2024 20:47
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