# Set Leaderboard Item Font Size

Grammar — Set board|Leaderboard item font size at column column and row row to size
FlagsNative | Action

Sets the font size of text in a location on a leaderboard.

# Arguments

  • int<preset::Board> — Board
  • int — Column
  • int — Row
  • int — Size

Returns — void

native void BoardItemSetFontSize(
	int inBoard,
	int inCol,
	int inRow,
	int inSize,
);

Category: Leaderboard / Leaderboard Items

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1362

    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/DB71EC73") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1368

    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/A79B6B3E") + IntToText(gv_oRLANS_MINERAL_COUNT)));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 3, Color(75.29, 0.00, 0.00));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 3, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:1201

    BoardItemSetProgressValue(gv_artifactBoard, 1, 2, (gv_artifactChargeCurrent / gv_artifactChargeMax));
    BoardItemSetText(gv_artifactBoard, 1, 1, (StringExternal("Param/Value/DE6AFFF6") + FixedToText(gf_ArtifactChargePercent(), 1) + StringExternal("Param/Value/F2914021")));
    BoardItemSetFontSize(gv_artifactBoard, 1, 1, 18);
    BoardShowAll(true, PlayerGroupAll());
    libNtve_gf_DisplayScreenButton(1, (StringExternal("Param/Value/EE7FA59B") + StringExternal("Param/Value/470B45ED") + libCamp_gf_FormatTimeCampaign(FixedToInt(UnitAbilityGetCooldown(gv_artifact, "EnergyNova", "Abil/Supernova"))) + StringExternal("Param/Value/21D8590C")), 400, 132, c_anchorTopRight, 15, 225, gt_EnergyNovaButton);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1064

    BoardRowSetGroup(BoardLastCreated(), 2, 1);
    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/783C4293"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1065

    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/783C4293"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1066

    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/A52238A3"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1067

    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/A52238A3"));
    BoardItemSetText(BoardLastCreated(), 2, 1, StringExternal("Param/Value/5D2B069A"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1119

    BoardRowSetGroup(BoardLastCreated(), 2, 1);
    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/F20F9865"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1120

    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/F20F9865"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1121

    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/E0D7D5EA"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1122

    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/E0D7D5EA"));
    BoardItemSetText(BoardLastCreated(), 2, 1, IntToText(gv_protossStructures));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1362

    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/DB71EC73") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1368

    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/A79B6B3E") + IntToText(gv_oRLANS_MINERAL_COUNT)));
    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 3, Color(75.29, 0.00, 0.00));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 3, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:1201

    BoardItemSetProgressValue(gv_artifactBoard, 1, 2, (gv_artifactChargeCurrent / gv_artifactChargeMax));
    BoardItemSetText(gv_artifactBoard, 1, 1, (StringExternal("Param/Value/DE6AFFF6") + FixedToText(gf_ArtifactChargePercent(), 1) + StringExternal("Param/Value/F2914021")));
    BoardItemSetFontSize(gv_artifactBoard, 1, 1, 18);
    BoardShowAll(true, PlayerGroupAll());
    libNtve_gf_DisplayScreenButton(1, (StringExternal("Param/Value/EE7FA59B") + StringExternal("Param/Value/470B45ED") + libCamp_gf_FormatTimeCampaign(FixedToInt(UnitAbilityGetCooldown(gv_artifact, "EnergyNova", "Abil/Supernova"))) + StringExternal("Param/Value/21D8590C")), 400, 132, c_anchorTopRight, 15, 225, gt_EnergyNovaButton);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1064

    BoardRowSetGroup(BoardLastCreated(), 2, 1);
    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/783C4293"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1065

    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/783C4293"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1066

    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/A52238A3"));

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1067

    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/A52238A3"));
    BoardItemSetText(BoardLastCreated(), 2, 1, StringExternal("Param/Value/5D2B069A"));

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1119

    BoardRowSetGroup(BoardLastCreated(), 2, 1);
    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/F20F9865"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1120

    BoardItemSetText(BoardLastCreated(), c_boardColGroups, 1, StringExternal("Param/Value/F20F9865"));
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1121

    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/E0D7D5EA"));

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:1122

    BoardItemSetFontSize(BoardLastCreated(), 2, 1, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 2, 16);
    BoardItemSetFontSize(BoardLastCreated(), 2, 2, 16);
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/E0D7D5EA"));
    BoardItemSetText(BoardLastCreated(), 2, 1, IntToText(gv_protossStructures));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:2596

    BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetText(BoardLastCreated(), 1, c_boardRowHeader, StringExternal("Param/Value/9E3C4977"));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:2597

    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetText(BoardLastCreated(), 1, c_boardRowHeader, StringExternal("Param/Value/9E3C4977"));
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/F4003D96"));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:2596

    BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetText(BoardLastCreated(), 1, c_boardRowHeader, StringExternal("Param/Value/9E3C4977"));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:2597

    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);
    BoardItemSetText(BoardLastCreated(), 1, c_boardRowHeader, StringExternal("Param/Value/9E3C4977"));
    BoardItemSetText(BoardLastCreated(), 1, 1, StringExternal("Param/Value/F4003D96"));