# Set Maximum Size Of Text Tag

Grammar — Set the maximum size of textTag to width width and height height (in percent of screen size)
FlagsNative | Action

Sets the maximum size of the specified text tag.

# Arguments

  • int [ preset::TextTag ] — Text Tag
  • fixed — Width
  • fixed — Height

Returns — void

native void TextTagSetMaxSize(
	int inTag,
	fixed inWidth,
	fixed inHeight,
);

Category: Text Tag / Formatting

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2879
TextTagSetMaxSize(TextTagLastCreated(), 17.0, 400.0)
// L2885
TextTagSetMaxSize(TextTagLastCreated(), 19.0, 400.0)
// L2879
TextTagSetMaxSize(TextTagLastCreated(), 17.0, 400.0)
// L2885
TextTagSetMaxSize(TextTagLastCreated(), 19.0, 400.0)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1558
TextTagSetMaxSize(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], 25.0, 40.0)
// L11895
TextTagSetMaxSize(lv_p_TextTag, 25.0, 40.0)

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L2861
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2881
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2901
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2921
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2941
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2861
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2881
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2901
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2921
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2941
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)