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

@@ -133,7 +133,13 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
ml.AddChild(template);
offset += template.Bounds.Height;
// Padding hack
if (ml.ContentHeight == 0)
ml.ContentHeight += 2*template.Bounds.Y;
ml.ContentHeight += template.Bounds.Height;
}
}