Window style attributes: Ring Menu

Presentation style attributes that apply to a window ring menu.

Table 1. Window style attributes: Ring Menu
Attribute GDC GBC GMA GMI
ringMenuButtonSize

Defines the width of buttons for default action views (MENU instruction).

By default, buttons are sized depending on the text and/or image.

This attribute gets a size specification as follows:
  • <number>em: a number followed by the "em" unit (such as "20em"), defines a size relative to the height of the current font.
  • "normal", "shrink", "tiny", "small", "medium", "large" or "huge". When using "normal" and "shrink", buttons are sized depending on the text or image, where "shrink" uses the minimum size needed to display the content of the button.
Yes Yes No No
ringMenuButtonSpace

Defines the space between buttons for default action views (MENU instruction).

Values can be "none", "tiny", "small", "medium" (default), "large" or "huge".

Yes No No No
ringMenuButtonTextAlign

Defines the text alignment inside buttons for default action views (MENU instruction).

Values can be "left", "center", "right"

Default is "left" when the button have an icon, "center" otherwise.

Yes Yes No No
ringMenuButtonTextHidden

Defines the text visibility inside buttons for default action views (MENU instruction).

Values can be "yes" (default) or "no".

Yes Yes No No
ringMenuDecoration

Defines the decoration of the menu panel (MENU instruction).

Values can be "auto" (default), "yes", "no" and "dockable".

Yes No No No
ringMenuHAlign

Defines the alignment of the ring menu frame (MENU instruction).

This attribute takes effect when ringMenuPosition is "top" or "bottom".

Values can be "left" (default), "right" or "center".

Yes No No No
ringMenuPosition

Defines the position of the ring menu frame (MENU instruction).

Values can be "none", "chrome", "top", "left", "bottom" or "right" (default).
Note: The "chrome" value is specific to GBC: It indicates that action views must be displayed in the frame of the browser surrounding the HTML content. This is especially used on mobile devices. See Action views with GBC.
Yes Yes (see note) No No
ringMenuScroll

Defines if the focus can wrap in the ring menu default actions views, when pressing up or down keys.

Values can be "0" or "1" (default).

Yes No No No
ringMenuScrollStep

Defines how the ring menu scrolls when moving to a next button that is not visible.

Values can be:
  • "line" (default): the menu will scroll by one line, and show only the next button.
  • "page", the scrolling will be done page by page.
Yes No No No