Move the mouse pointer over the tab of the panel in Design view and click the eye icon that appears at the right of the tab.
Select a Collapsible Panel widget in the Document window, and then select Open or Closed from the Display pop-up menu in the Property inspector (Window > Properties).