- 0 Talk
-
XML/Button
< XML
Inheritance
Edit
Derived from: Frame
Runtime object: UIOBJECT_Button
Elements
Edit
NormalTexture, PushedTexture, DisabledTexture, HighlightTexture, NormalText, HighlightText, DisabledText, PushedTextOffset
Attributes
Edit
- text
- The text displayed on the button.
Description
Edit
Notes: The various textures, once inherited or set to art of your choice, will automatically behave as expect. (highlight on mouseover, pushed while clicked, disabled when disabled) The same goes for the different texts.
Example
Edit
Included in Backdrop
<Button name="$parentButtonClose" inherits="OptionsButtonTemplate" text="Close"> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-12" y="16"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> autoInviteMainConfigFrame:Hide(); </OnClick> </Scripts> </Button>
