======Text Label====== ---- A **text label** is a [[widget]] element for displaying plain text (for example, a header or label to accompany an adjacent element or group of elements). =====Element Properties===== ^Icon^Property^Description^ |{{:wiki:tag_id.png?nolink|}}|Element ID|ID for the text label. This ID must be unique amongst other elements within the same [[widget]]. It is currently auto-generated but will be editable in a future update.| |{{:wiki:text.png?nolink|}}|Text|Text that will be displayed on the text label.| |{{:wiki:font.png?nolink|}}|Font|[[Font]] that will be used for the label's text. If the "Default" option is selected, your game's default dialogue [[font]] will be used.| |{{:wiki:font_size.png?nolink|}}|Font Size|[[Font]] size to use for the label's text.| =====Scripting===== You can access and change certain properties of a text label from within a [[script]] by simply referencing the parent [[widget]] and the element by their unique IDs. See below for an example of changing the label's text. In this case, the [[widget]] has an ID of "test" and the text label has an ID of "0001". **Changing a button's text:** widget["test"].element["0001"].text = "New Text"; ~~NOTOC~~