Window style attributes: Ring Menu
Presentation style attributes that apply to a window ring menu.
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.
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.
ringMenuButtonTextHidden
Defines the text visibility inside buttons for default action views (MENU
instruction).
Values can be "yes
" or "no
" (default).
When set to "yes
" to hide the text, this will only have an effect if the action
view defines an image.
ringMenuPosition
Defines the position of the ring menu frame (MENU instruction).
Values can be one of:
"top"
: Menu frame is displayed at the top of the window."bottom"
: Menu frame is displayed at the bottom of the window."right"
(default on desktop): Menu frame is displayed to the right of the window."left"
: Menu frame is displayed to the left of the window."none"
: The menu frame is not displayed."chrome"
(default on mobile): Action views are displayed in the chromebar. See Action views in chromebar.