I would like to evenly space these objects, i.e. having the same distance on the left and on the right side of each object. How can this be accomplished?
Use the Align and Distribute panel.
Do the shapes first. Select them and Align: Centre on horizontal axis, then Distribute: Make horizontal gaps between objects equal.
Group the shapes.
Select the black bar and the group, then do Align: Centre on horizontal axis, and Align: Centre on vertical axis.
-
Can you align and distribute objects on the fly, like how PowerPoint does? Say I want to fix the distance between object A and B, and want C to have that same distance with B. Selecting the three and distribute the distance will change the distance between A and B – Ooker Jan 27 at 10:27
-
@Ooker, sorry I don't use PowerPoint, and I've no idea what you mean by "align and distribute on the fly", or what it can do. In Inkscape's Align and Distribute dialog, there's a "Relative to" dropdown which may have options that might help. It might be better to ask this as a new question, and show an example of what you are trying to achieve. – Billy Kerr Jan 27 at 11:02
You need to use the align and distribute dialog.
In order to get equal spacing between sides and between objects, you probably need 5 objects: 2 vertical lines with 0 stroke width on the sides of the black rectangle, plus your 3 icons.
Select the 5 objects, and in the Align and distribute dialog select the option for equal horizontal spacing.