how to set dimension for compact form on ipad