compose-pay-button
compose-pay-button copied to clipboard
Setting height of button
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
@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.
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.
Thanks for the clarifications @rasmusandersson5 Any chance you could share a screenshot with me? I would love to see how it looks...
This is probably all I can give you atm π The text is "Continue" in Swedish πΈπͺ
Hello, posting here to add that this is something that we'd also like (same scenario π )
+1
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
Same ask from me. We show the GPay button adjacent to buttons for other payment options, and we want to be able to bring some uniformity to the buttons without having to restyle our other buttons to match the GPay button