XML/FontString

Derived from: LayoutFrame

Elements: FontHeight, Color, Shadow

Attributes: font, bytes, text, spacing, outline, monochrome, nonspacewrap, justifyV, justifyH, maxLines, inherits

''The Fontstring element is used to display a text in the user interface. The text displayed by the Fontstring element can be changed with the LUA function :SetText or read with the function :GetText.''

outline = "NORMAL" or "THICK", monochrome = "true" or "false", justifyV = "TOP", "MIDDLE" or "BOTTOM", justifyH = "LEFT", "RIGHT", "CENTER"

inherits can be set to an existing font. If set, the current FontString will take on all of that font's settings, unless overridden in the current FontString.

Note:  must be within a , Attribute "font" needs to be set for element "FontHeight" to work


 * See [ FrameXML/Fonts.xml] for the system default list of inheritable fonts!

Code: FontString Widget API

Example
          