Minor map chooser polish tweaks.

This commit is contained in:
Paul Chote
2013-04-06 02:28:26 +13:00
parent 5e2e284cbf
commit 4bc5d06c19
2 changed files with 6 additions and 6 deletions

View File

@@ -114,11 +114,11 @@ namespace OpenRA.Mods.RA.Widgets.Logic
var detailsWidget = item.GetOrNull<LabelWidget>("DETAILS");
if (detailsWidget != null)
detailsWidget.GetText = () => "{0} ({1})".F(m.Type, m.PlayerCount);
detailsWidget.GetText = () => "{0} ({1} players)".F(m.Type, m.PlayerCount);
var authorWidget = item.GetOrNull<LabelWidget>("AUTHOR");
if (authorWidget != null)
authorWidget.GetText = () => m.Author;
authorWidget.GetText = () => "Created by {0}".F(m.Author);
var sizeWidget = item.GetOrNull<LabelWidget>("SIZE");
if (sizeWidget != null)

View File

@@ -38,7 +38,7 @@ Container@MAPCHOOSER_PANEL:
Children:
ScrollItem@MAP_TEMPLATE:
Width:168
Height:215
Height:217
X:2
Y:0
Visible:false
@@ -57,19 +57,19 @@ Container@MAPCHOOSER_PANEL:
Height:158
Label@TITLE:
X:2
Y:PARENT_BOTTOM-45
Y:PARENT_BOTTOM-48
Width:PARENT_RIGHT-4
Align:Center
Label@DETAILS:
Width:PARENT_RIGHT-4
X:2
Y:PARENT_BOTTOM-30
Y:PARENT_BOTTOM-34
Align:Center
Font:Tiny
Label@AUTHOR:
Width:PARENT_RIGHT-4
X:2
Y:PARENT_BOTTOM-20
Y:PARENT_BOTTOM-22
Align:Center
Font:Tiny
Label@SIZE: