Added constraits for layouts