I have a line symbology made of 5 different symbol layers. (ie the line symbol is a composite made of 5 smaller lines) I need to make part of it dashed, but when I do the 5 different symbol layers are not synchronized to start and end in the same place, so they look like this:

Past workaround to this is to make the underlying line feature itself consist of multiple segments, in other words do the dashing in the feature geometry and not in the symbology. I keep thinking there has to be a less tedious and more elegant way, anyone know of one?