Rename ListBoxWidget -> ScrollPanelWidget.

This commit is contained in:
Paul Chote
2010-11-26 10:43:09 +13:00
parent 58a92de5a1
commit 7182908728
19 changed files with 24 additions and 24 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
};
var sl = bg.GetWidget<ListBoxWidget>("SERVER_LIST");
var sl = bg.GetWidget<ScrollPanelWidget>("SERVER_LIST");
ServerTemplate = sl.GetWidget<LabelWidget>("SERVER_TEMPLATE");
bg.GetWidget("REFRESH_BUTTON").OnMouseUp = mi =>
@@ -137,7 +137,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
if (bg == null) // We got a MasterServer reply AFTER the browser is gone, just return to prevent crash - Gecko
return;
var sl = bg.GetWidget<ListBoxWidget>("SERVER_LIST");
var sl = bg.GetWidget<ScrollPanelWidget>("SERVER_LIST");
sl.Children.Clear();
currentServer = null;