Use automatic layouting to automatically determine size of the action sheet.