Extension: omni.kit.widget.context_menu-1.2.1

Documentation Generated: Jul 17, 2024

Settings

The following settings define how the context menu items are built.

“/exts/omni.kit.context_menu/icon_size”

  • default is 14.

  • The size of the menu icon.

“/exts/omni.kit.context_menu/text_size”

  • default is 23.

  • The height of the menu item text.

“/exts/omni.kit.context_menu/margin_size”

  • default is [4, 4].

  • The size of the margins before and after the menu item text

“/exts/omni.kit.context_menu/icon_spacing”

  • default is [7, 7].

  • The size of the spaces before and after the menu icon.

“/exts/omni.kit.context_menu/submenu_icon_size”

  • default is 11.7.

  • The size of the submenu arrow.

“/exts/omni.kit.context_menu/submenu_spacing”

  • default is 4.

  • The size of the space after the submenu arrow.

“/exts/omni.kit.context_menu/color_label_enabled”

  • default is 0xFFCCCCCC.

  • Color of menu item text when item is enabled.

“/exts/omni.kit.context_menu/color_label_disabled”

  • default is 0xFF6F6F6F.

  • Color of menu item text when item is disabled.

“/exts/omni.kit.context_menu/color_separator”

  • default is 0xFF6F6F6F

  • Color of menu separator item.