For a dashed line, you can graphically edit its first section.
Black flag: the end of the Dash segment. White flag: the gap between each dash
Edit the dash segment and the gap by dragging the flags horizontally, or edit their value in the Dash or Gap field below.
The values use the units defined at Options > Project Preferences > Working Units.