Tweak ra lobby scrollpanel margins.

This commit is contained in:
Paul Chote
2010-11-28 10:41:41 +13:00
parent 748a055a24
commit 306bece709
2 changed files with 5 additions and 3 deletions

View File

@@ -90,6 +90,8 @@ namespace OpenRA.Widgets
{
if (UpPressed && ListOffset <= 0) ListOffset += ScrollVelocity;
if (DownPressed) ListOffset -= ScrollVelocity;
if (ListOffset > 0) ListOffset = 0;
}
public override bool LoseFocus (MouseInput mi)

View File

@@ -33,13 +33,13 @@ Background@SERVER_LOBBY:
Id:PLAYERSX
X:20
Y:75
Width:500
Width:504
Height:227
Children:
Container@PLAYERS:
Id:PLAYERS
X:2
Y:1
X:5
Y:5
Width:500
Height:2270
Children: