For me it happened because the label did have a leading constraint, but did not have a trailing constraint. It' s better to set leading and trailing constraints instead of width and preferred max width.