controller config: random layout issue

This commit is contained in:
goyuken 2013-07-25 00:28:11 +00:00
parent 19b7f2cc8d
commit 03fba8ee9d
2 changed files with 1 additions and 3 deletions

View File

@ -29,8 +29,6 @@ namespace BizHawk.MultiClient.config.ControllerConfig
var ctrl = new AnalogBindControl(ButtonName, RealConfigObject[ButtonName]);
ctrl.Location = new Point(x, y);
y += ctrl.Height + 4;
if (Width < ctrl.Width + 8)
Width = ctrl.Width + 8;
Controls.Add(ctrl);
}
ResumeLayout();

View File

@ -51,7 +51,7 @@ namespace BizHawk.MultiClient.config
Control CreateAnalogPanel(Dictionary<string, Config.AnalogBind> settings, List<string> buttons, Size size)
{
var acp = new AnalogBindPanel(settings, buttons);
var acp = new AnalogBindPanel(settings, buttons) { Dock = DockStyle.Fill };
return acp;
}