checkbox is failing somehow?

This commit is contained in:
alzeih
2010-04-24 18:55:47 +12:00
parent 17ae43c036
commit dfbf8eb813
4 changed files with 119 additions and 80 deletions

View File

@@ -38,7 +38,7 @@ namespace OpenRA.Widgets
var pos = DrawPosition();
var rect = new Rectangle(pos.X, pos.Y, Bounds.Width, Bounds.Height);
WidgetUtils.DrawPanel("dialog3", new Rectangle(rect.Location,
new Size(Bounds.Height, Bounds.Height))); //HACK!
new Size(Bounds.Height, Bounds.Height)));
Game.chrome.renderer.BoldFont.DrawText(Text,
new float2(rect.Left + rect.Height * 2, rect.Top), Color.White);