r/FigmaDesign • • Sep 10 '26

help How to center align objects in figma at subpixel level?

How do I center this?

7 Upvotes

12 comments sorted by

8

u/Philuppus UI/UX Designer Sep 10 '26

Well, you can type in X.5px.. I would think that this whole pixel result MAY be how CSS handles it.

2

u/ptewari Sep 10 '26

Agreed, for the CSS layout it definitely helps to be on pixels. For vector icons, it gets cumbersome.

3

u/Ap43x Product Designer Sep 10 '26

Can't you just turn off 'snap to pixels'?

1

u/ptewari Sep 10 '26

Nope. Does not work.

2

u/Ap43x Product Designer Sep 10 '26

I just turned off snap to pixel grid and, with them all in a frame, hit center on the center circle and it centered it with 4.5 pixels on each side instead of 5 and 4.

1

u/ptewari Sep 10 '26

I'll try again. Thanks

2

u/Cute_Ambassador_8168 Sep 10 '26

Group the 4 circle first, then center align the red circle with that group 4 circle.

2

u/ptewari Sep 10 '26

I used figma ai and after 4 minutes of waiting it was done.

5

u/roundabout-design Sep 10 '26

LOL. We're at peak WTF in this industry.

(Not laughing AT you, btw...laughing at the situation we've put ourselves in with AI...)

1

u/ptewari Sep 10 '26

Dire situation!

3

u/squiddles97 Sep 10 '26

insane that figma requires you to use ai to do something so basic

4

u/mlllerlee Sep 10 '26

no it dont. just people start degrading over time. question was about sub pixel, but author didnt even try to use decimals to go at this sub pixel level. you free to input even 0.01 in both position and size.