How would y'all auto layout this button in Figma? There's only an icon on the right side, yet want the text to be centered optically. Maybe negative gap value? #designsky
Comments
Log in with your Bluesky account to leave a comment
I avoid negatives as much as possible because you can’t really reinforce content constraints as well.
Would probably do one of two ways:
1. three containers, two fixed of equal size where one holds the icon and middle that contains copy that’s set to fill
Pretty much — which is why I prefer the second method I mentioned, but this method is nice because it builds in flexibility if you want to add an icon option to the left side, too.
Comments
Would probably do one of two ways:
1. three containers, two fixed of equal size where one holds the icon and middle that contains copy that’s set to fill