Rename last usages of "race" in UI YAML files

This commit is contained in:
Pavel Penev
2015-08-22 02:41:00 +03:00
parent 09f67d18bb
commit 05e081043b
7 changed files with 7 additions and 7 deletions

View File

@@ -124,7 +124,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var options = factions.Where(f => f.Value.Selectable).GroupBy(f => f.Value.Side) var options = factions.Where(f => f.Value.Selectable).GroupBy(f => f.Value.Side)
.ToDictionary(g => g.Key ?? "", g => g.Select(f => f.Key)); .ToDictionary(g => g.Key ?? "", g => g.Select(f => f.Key));
dropdown.ShowDropDown("RACE_DROPDOWN_TEMPLATE", 150, options, setupItem); dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 150, options, setupItem);
} }
public static void ShowColorDropDown(DropDownButtonWidget color, Session.Client client, public static void ShowColorDropDown(DropDownButtonWidget color, Session.Client client,

View File

@@ -26,7 +26,7 @@ ScrollPanel@LABEL_DROPDOWN_TEMPLATE:
Width: PARENT_RIGHT-20 Width: PARENT_RIGHT-20
Height: 25 Height: 25
ScrollPanel@RACE_DROPDOWN_TEMPLATE: ScrollPanel@FACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH Width: DROPDOWN_WIDTH
Background: panel-black Background: panel-black
Children: Children:

View File

@@ -36,7 +36,7 @@ Container@SKIRMISH_STATS:
Height: 25 Height: 25
Text: Player Text: Player
Font: Bold Font: Bold
Label@RACE: Label@FACTION:
X: 150 X: 150
Width: 80 Width: 80
Height: 25 Height: 25

View File

@@ -36,7 +36,7 @@ Container@SKIRMISH_STATS:
Height: 25 Height: 25
Text: Player Text: Player
Font: Bold Font: Bold
Label@RACE: Label@FACTION:
X: 150 X: 150
Width: 80 Width: 80
Height: 25 Height: 25

View File

@@ -328,7 +328,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
X: 190 X: 190
Y: 0 Y: 0
ScrollPanel@RACE_DROPDOWN_TEMPLATE: ScrollPanel@FACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH Width: DROPDOWN_WIDTH
Children: Children:
ScrollItem@HEADER: ScrollItem@HEADER:

View File

@@ -36,7 +36,7 @@ Container@SKIRMISH_STATS:
Height: 25 Height: 25
Text: Player Text: Player
Font: Bold Font: Bold
Label@RACE: Label@FACTION:
X: 150 X: 150
Width: 80 Width: 80
Height: 25 Height: 25

View File

@@ -328,7 +328,7 @@ ScrollPanel@LOBBY_PLAYER_BIN:
X: 190 X: 190
Y: 0 Y: 0
ScrollPanel@RACE_DROPDOWN_TEMPLATE: ScrollPanel@FACTION_DROPDOWN_TEMPLATE:
Width: DROPDOWN_WIDTH Width: DROPDOWN_WIDTH
Children: Children:
ScrollItem@HEADER: ScrollItem@HEADER: