Using separators

Separators are buttons of a special type, which appear as vertical or horizontal bars. Please read article Creating Separators for more information on creating separators.

Separators are helpful for grouping different shortcuts within a menu.

In this example, we have organized our shortcuts in three groups:

For the better clearness, we can add text to separators. Please note that arranging buttons will arrange them within a group only, i.e. items will only be arranged between two separators or between a separator and the top or bottom of the menu.

If the menu view mode is set to “Icons only” or “Icons with text”, the separators will be drawn to the full width of the menu, just like they do for the default view mode:

Separators add a number of items to the context menu:

This figure displays the collapsed “Open Office” group, Collapse/Expand, and the Run All buttons.

As it was mentioned above, when a group is collapsed, its buttons become hidden and appear on the “Show Hidden” item of the context menu. A great effect can be created if you enable showing one or a few buttons from a collapsed group. When the group is expanded, the visible buttons become hidden, and the hidden ones will become visible. Thus the buttons will toggle every time you click on the item.