Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Inherited by: none, Inherits: none, Defined in: Button
Although this type was meant to encapsulate a whole style for a button state or general button, it onlyri conveys the font information. It does not itself define a font or fontstring and has no attributes or elements to support this. Currently the ButtonStyle 'style' can basically be treated like 'inherits' on FontString.
<Frame name="MyFrame"> <Layers>
</Layers> <Button inherits="UIPanelButtonTemplate" text="Big Text"> <Size x=150 y=60> <Anchors><Anchor point="BOTTOM"/></Anchors> <NormalFont style="GameFontNormalHuge"/> </Button> </Frame>
This example will show a opaque color texture, painted white, and a button where the normal state font have been changed to a large font.