add constraints for relative sizes and center with ratio