Optical Alignment: How to Centre a Play Icon
Put a right-pointing triangle inside a circle and centre its bounding box. The coordinates agree. At the size of a media control, the triangle can still feel as though it sits to the left. Its broad edge puts more filled area on that side, while the right side of the box contains mostly air.
Watch the VDJ video on optical alignment. This companion turns the centring problem into a small icon test.
Keep the circle and the target fixed
Draw a 40-pixel circle and put a 14-pixel-wide play triangle inside it. Duplicate the pair. Leave the first triangle geometrically centred. Nudge the second triangle one pixel to the right. Make a third copy at two pixels. Keep the three circles the same size and keep their positions fixed relative to the grid.
Turn off the selection outlines and compare the three controls at 100 percent. Pay attention to the gap near the broad edge of the triangle and the gap near its tip. Next, put the three candidates beside a pause and a stop control. The best alignment for an isolated triangle can look different when the whole group shares a common baseline and spacing.
The one- and two-pixel nudges are trial values. Repeat the test at the sizes you actually ship. A filled icon, a stroked icon, and a rounded triangle distribute their weight differently.
Write down which layer moved
Keep the visible circle, the interactive target, and the glyph as separate layers. If the nudge helps at one size, record the change in the glyph geometry for that size. Adjusting the entire button moves its target and can break alignment with the other controls.
For a stronger check, show the variants to someone without the alignment guides or measurements. Ask which control looks out of place in the row, then reverse the order to see whether their choice changes. A consistent answer is more useful than an isolated preference at high zoom.
The same habit applies to headings beside round badges and arrowheads next to text. Establish the mechanical alignment first, then inspect what the visible forms do.
Further reading
Watch the VDJ Short on optical alignment
Comments (0)
- No comments yet. Start the conversation.