XML/MessageFrame

From Warcraft Wiki
< XML
Jump to navigation Jump to search

<MessageFrame> (inherits from <Frame>, creates a MessageFrame widget) prints messages.

<MessageFrameType>
	<FontString />
	<TextInsets />
</MessageFrameType>

Attributes

font (xs:string)
fade (xs:boolean?Optional. Could be nil.) - True causes messages to fade slowly; false causes them to disappear instantly.
fadeDuration (xs:float?Optional. Could be nil.) - Default 3.0
fadePower (xs:float?Optional. Could be nil.) - Default 1.0
displayDuration (xs:float?Optional. Could be nil.) - Default 10.0
insertMode (ui:INSERTMODE) - "TOP", or "BOTTOM" (default)

Child elements

<FontString>

<TextInsets> defines padding (+) or overflow (-) of the FontString relative to the MessageFrame; inherits <Inset>.