This panel consists of a header and content sections. The content section is collapsed (not displayed) until the header is clicked on.
Custom attributes
Name |
Description |
---|---|
header |
Text string displayed in header panel. This is always visible and clickable. |
expanded |
Initial state of the content panel. Recognized values are "true" or "false". |
Example XUL:
<expandpanel id="errorLogExpander" header="Error Log" expanded="false"> <label id="errorLogDetails" height="300" width="435" multiline="true"/> <hbox> <spacer flex="1"/> <button id="fixErrorsButton" onclick="controller.fixErrors()" label="Fix Errors"/> </hbox> </expandpanel>