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

Setting height of button #4

Open
rasmusandersson5 opened this issue Nov 3, 2023 · 7 comments
Open

Setting height of button #4

rasmusandersson5 opened this issue Nov 3, 2023 · 7 comments

Comments

@rasmusandersson5
Copy link

Is there any way of setting the height of the button? Modifier.height only sets the height of the container and not the actual button

@dmengelt
Copy link
Member

dmengelt commented Nov 3, 2023

@rasmusandersson5 Right. This is currently not possible. Could you elaborate a bit more on your use case? Maybe share a screenshot of your screen indicating why you need the height to be adjustable? Thanks for your help.

@rasmusandersson5
Copy link
Author

Hi!

Basically I want the button to align with other button heights from our design system.
Show a Google Pay button together with, let's say, our own "Continue" button looks a bit bad now since the height is not exactly the same.

@dmengelt
Copy link
Member

dmengelt commented Nov 4, 2023

Thanks for the clarifications @rasmusandersson5
Any chance you could share a screenshot with me? I would love to see how it looks...

@rasmusandersson5
Copy link
Author

rasmusandersson5 commented Nov 6, 2023

This is probably all I can give you atm 😁
The text is "Continue" in Swedish 🇸🇪

Screenshot 2023-11-05 at 14 32 55

@cmargonis
Copy link

Hello, posting here to add that this is something that we'd also like (same scenario 😄 )

@naltynbekkz
Copy link

+1

@LaurentLixfe
Copy link

Hello, same issue for me. According to the guidelines, each payment button should have the same size, unfortunately that's not possible without changing the height

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

No branches or pull requests

5 participants