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

@@ -116,6 +116,10 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
CurrentReplay = filename;
offset += template.Bounds.Height;
// Padding hack
if (list.ContentHeight == 0)
list.ContentHeight += 2*template.Bounds.Y;
list.ContentHeight += template.Bounds.Height;
}
}