hard-coded ScrollVelocity to YAML

This commit is contained in:
Matthias Mailänder
2014-01-21 15:22:05 +01:00
committed by Matthias Mailänder
parent 153aba469d
commit d514689ec7
3 changed files with 2 additions and 1 deletions

View File

@@ -36,7 +36,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
widget.Get<ButtonWidget>("BUTTON_CANCEL").OnClick = () => { Ui.CloseWindow(); onExit(); };
scrollpanel = widget.Get<ScrollPanelWidget>("MAP_LIST");
scrollpanel.ScrollVelocity = 40f;
scrollpanel.Layout = new GridLayout(scrollpanel);
itemTemplate = scrollpanel.Get<ScrollItemWidget>("MAP_TEMPLATE");

View File

@@ -35,6 +35,7 @@ Container@MAPCHOOSER_PANEL:
Y:45
Width:PARENT_RIGHT - 30
Height:440
ScrollVelocity:40
Children:
ScrollItem@MAP_TEMPLATE:
Width:168

View File

@@ -18,6 +18,7 @@ Background@MAPCHOOSER_PANEL:
Y:47
Width:PARENT_RIGHT - 40
Height:474
ScrollVelocity:40
Children:
ScrollItem@MAP_TEMPLATE:
Width:180