# Set Leaderboard Item Alignment

Grammar — Set board|Leaderboard item alignment at column column and row row to align|Alignment
FlagsNative | Action

Sets the alignment of text in a location on a leaderboard.

# Arguments

Returns — void

native void BoardItemSetAlignment(
	int inBoard,
	int inCol,
	int inRow,
	int inAlign,
);

Category: Leaderboard / Leaderboard Items

# Examples

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

    BoardSetState(gv_artifactBoard, PlayerGroupAll(), c_boardStateShowTitle, false);
    BoardSetColumnWidth(gv_artifactBoard, 1, 25.0);
    BoardItemSetAlignment(gv_artifactBoard, 1, 1, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);

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

    BoardSetColumnWidth(gv_artifactBoard, 1, 25.0);
    BoardItemSetAlignment(gv_artifactBoard, 1, 1, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);
    BoardItemSetProgressShow(gv_artifactBoard, 1, 2, true);

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

    BoardItemSetAlignment(gv_artifactBoard, 1, 1, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);
    BoardItemSetProgressShow(gv_artifactBoard, 1, 2, true);
    BoardItemSetProgressRange(gv_artifactBoard, 1, 2, 0.0, 1.0);

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

    BoardSetState(gv_artifactBoard, PlayerGroupAll(), c_boardStateShowTitle, false);
    BoardSetColumnWidth(gv_artifactBoard, 1, 25.0);
    BoardItemSetAlignment(gv_artifactBoard, 1, 1, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);

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

    BoardSetColumnWidth(gv_artifactBoard, 1, 25.0);
    BoardItemSetAlignment(gv_artifactBoard, 1, 1, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);
    BoardItemSetProgressShow(gv_artifactBoard, 1, 2, true);

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

    BoardItemSetAlignment(gv_artifactBoard, 1, 1, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 2, c_alignCenter);
    BoardItemSetAlignment(gv_artifactBoard, 1, 3, c_alignCenter);
    BoardItemSetProgressShow(gv_artifactBoard, 1, 2, true);
    BoardItemSetProgressRange(gv_artifactBoard, 1, 2, 0.0, 1.0);

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

    BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
    BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, true);
    BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);

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

    BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, true);
    BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);

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

    BoardMinimizeShow(BoardLastCreated(), PlayerGroupAll(), false);
    BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, true);
    BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);

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

    BoardSetState(BoardLastCreated(), PlayerGroupAll(), c_boardStateShowHeader, true);
    BoardItemSetAlignment(BoardLastCreated(), 1, c_boardRowHeader, c_alignLeft);
    BoardItemSetAlignment(BoardLastCreated(), 1, 1, c_alignLeft);
    BoardItemSetFontSize(BoardLastCreated(), 1, c_boardRowHeader, 16);
    BoardItemSetFontSize(BoardLastCreated(), 1, 1, 16);