Alter default bot and faction dropdownhights for the RA mod.

This commit is contained in:
SoScared
2018-10-04 18:33:34 +02:00
committed by Paul Chote
parent 42446ac9ba
commit b480fecdbd

View File

@@ -70,7 +70,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
return item;
};
dropdown.ShowDropDown("LABEL_DROPDOWN_TEMPLATE", 167, options, setupItem);
dropdown.ShowDropDown("LABEL_DROPDOWN_TEMPLATE", 180, options, setupItem);
}
public static void ShowPlayerActionDropDown(DropDownButtonWidget dropdown, Session.Slot slot,
@@ -194,7 +194,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var options = factions.Where(f => f.Value.Selectable).GroupBy(f => f.Value.Side)
.ToDictionary(g => g.Key ?? "", g => g.Select(f => f.Key));
dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 150, options, setupItem);
dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 154, options, setupItem);
}
public static void ShowColorDropDown(DropDownButtonWidget color, Session.Client client,