Navigation menu

WoW:XML/ButtonStyle: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{uixmltype}} ButtonStyle defines a visual style for Button state. At this time, attribute values are basically names of Fonts...")
 
Line 13: Line 13:


== Summary ==
== Summary ==
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.
Although this type was meant to encapsulate a whole style for a button state or general button, it only 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.


=== Example ===
=== Example ===
Line 32: Line 32:
  </Frame>
  </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.
This example will show an opaque color texture, painted white, and a button where the normal state font has been changed to a large font.