fruity: set max-width,height