ConstraintWidget class refactoring done.