UI Editor/Components

From Virtual World Web Wiki
Revision as of 16:17, 16 November 2017 by IanN (Talk | contribs) (Created page with "Components represent the various bits of UI that appear on windows (labels, buttons, menus, etc). They also have scripting interfaces for mod...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Components represent the various bits of UI that appear on windows (labels, buttons, menus, etc). They also have scripting interfaces for modifying them from JavaScript.

When selecting a Component or Window in the Hierarchy panel, its relevant properties are displayed in the Inspector tab.

Label

A label represents a static piece of text on the screen. Labels can be used by themselves or as a sub-component of more complex components like buttons.

Imagebox

An image box provides a static image to display as part of a window. This is often used for icons, legend/key images, and non-interactive stylistic elements.

Button

Buttons are one of the most ubiquitous UI components, providing click-handling functionality, a label, and optionally an icon.

Menu

A menu allows the script to populate a set of items that can be clicked to activate a callback function.