Using left, centre and right segments generates a mode line with padded strings that actually achieves this.