Is there a way to create a lightning:radioButton with type='Button' with same option size?

enter image description here

i wanna set the size like following:

enter image description here

and obviously center the label inside.

Thank you.

1 Answer 1


Unfortunately not. Unless or until the component provides a width option of some sort, you won't be able to manipulate it. You'll need to build your own custom component if you want to have this sort of functionality.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .