Widget/API/GetTextWidth

Returns the maximum Text width of a Button. Checked Heights are:
 * NormalText
 * DisabledText
 * HighlightText

Elem:GetTextWidth

Arguments

 * Button

Returns

 * Number

Example
/run Elem:GetTextWidth /run Elem.GetTextWidth(Elem)