controller config: random layout issue
This commit is contained in:
parent
19b7f2cc8d
commit
03fba8ee9d
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue