Skip to content

Conversation

bemusementpark
Copy link

Padding seems to be set in the wrong place, which cuts off the downstate to some arbitrary position that doesn't line up with anything. This PR reinstates previous behaviour where downstate would extend to edges, matching iOS' downstate dimensions.

Before

Screenshot 2024-09-18 at 12 55 30 AM

After

Screenshot 2024-09-18 at 4 33 41 PM

TextButton uses some default contentPadding with horizontal padding of 12 dp which is a bit awkward, so this PR sets contentPadding = PaddingValues() effectively removing content padding so it can all be set explicitly.

This PR utilises some square space around the icon with an additional xxsSpacing horizontal padding to keep space on each side of the icon equal, and slightly more indented than the divider, which seems to match iOS.

Screenshot 2024-09-18 at 4 42 01 PM

Copy link
Collaborator

@ThomasSession ThomasSession left a comment

Choose a reason for hiding this comment

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

Cheers!

@ThomasSession ThomasSession merged commit 89a854e into oxen-io:dev Sep 19, 2024
1 check failed
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