Draw scrollbar thumbs.

This commit is contained in:
Paul Chote
2010-12-31 23:19:07 +13:00
parent cf17bc7e5c
commit d98e09e096
20 changed files with 441 additions and 417 deletions

View File

@@ -183,6 +183,10 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
if (i == 0) currentServer = game;
offset += template.Bounds.Height;
// Padding hack
if (sl.ContentHeight == 0)
sl.ContentHeight += 2*template.Bounds.Y;
sl.ContentHeight += template.Bounds.Height;
i++;
}