Select objects to distribute
Distribute options
Direction:
X
Y
Z
Set length
Length: