WoW:API FontString SetTextHeight: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added note for SetTextHeight)
 
m (Move page script moved page API FontString SetTextHeight to API FontString SetTextHeight without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Sets the height of the text.  Note that this will distort the text because it enlarges the image rather than the font size.  If you need crisp looking text, you will need to create seperate text objects for each size.
{{widgetmethod}}
{{Stub/API}}
== Synopsis ==
 
FontString:SetTextHeight(integer pixelHeight)
 
== Description ==
 
Sets the height of the text.  Note that this will distort the text because it enlarges the image rather than the font size.  If you need crisp looking text, you will need to create separate text objects for each size.
 
== Examples ==

Latest revision as of 04:45, 15 August 2023

Widget API ← FontString < SetTextHeight

Synopsis[edit]

FontString:SetTextHeight(integer pixelHeight)

Description[edit]

Sets the height of the text. Note that this will distort the text because it enlarges the image rather than the font size. If you need crisp looking text, you will need to create separate text objects for each size.

Examples[edit]