WoW:API FontString SetTextHeight: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Add examples section.)
m (Move page script moved page API FontString SetTextHeight to API FontString SetTextHeight without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{widgetmethod}}
{{Stub/API}}
== Synopsis ==
== Synopsis ==


Line 5: Line 7:
== Description ==
== 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 seperate text objects for each size.
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 ==
== Examples ==
{{template:WoW API}}

Latest revision as of 04:45, 15 August 2023

Widget API ← FontString < SetTextHeight

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