# Set Background Border Size Of Text Tag

Grammar — Set the background border size of textTag to (horizontal, vertical), in percent of screen size
FlagsNative | Action

Sets the size of the background of the text tag.

# Arguments

  • int [ preset::TextTag ] — Text Tag
  • fixed — Horizontal
  • fixed — Vertical

Returns — void

native void TextTagSetBackgroundBorderSize(
	int inTag,
	fixed inX,
	fixed inY,
);

Category: Text Tag / Formatting

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L406
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L370
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L416
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L1102
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L1293
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L669
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L675
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L681
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L687
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L2874
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0)
// L9559
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L30080
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L1102
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L1293
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L669
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L675
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L681
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L687
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L2874
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0)
// L9559
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L30080
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L406
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L370
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L416
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1563
TextTagSetBackgroundBorderSize(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], 1.0, 1.0)
// L11900
TextTagSetBackgroundBorderSize(lv_p_TextTag, 1.0, 1.0)