In my case I replace the equal-width-constraint to width-constraint, and to set its constant value by calculating its reference, seems easier.