This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cmd:item [2012/03/29 13:38] mcb30 |
cmd:item [2012/04/28 22:40] mcb30 |
||
---|---|---|---|
Line 67: | Line 67: | ||
===== Notes ===== | ===== Notes ===== | ||
- | The display text will be truncated if necssary to fit within the available width. | + | The display text will be truncated if necessary to fit within the available width. |
Shortcut keys are not automatically displayed. You may wish to include an indication of the shortcut key within the display text. For example: | Shortcut keys are not automatically displayed. You may wish to include an indication of the shortcut key within the display text. For example: | ||
Line 77: | Line 77: | ||
item --gap -- ---------------- Advanced configuration ---------------- | item --gap -- ---------------- Advanced configuration ---------------- | ||
+ | |||
+ | You can specify the menu's default item either by using the ''--default'' option when creating the menu item with the ''item'' command, or by using the ''--default <label>'' option when displaying the menu with the ''[[:cmd:choose]]'' command. | ||