Merge pull request #1023 from Frezzle/CA-207306

[CA-207306] Select box is not in line with pGPU bar on GPU tab of host
This commit is contained in:
Mihaela Stoica 2016-06-20 16:37:43 +01:00 committed by GitHub
commit 57f359561a

View File

@ -116,8 +116,8 @@ namespace XenAdmin.Controls.GPU
if (checkBox != null) if (checkBox != null)
{ {
shinyBarsContainerPanel.Controls.Add(checkBox, 0, index); shinyBarsContainerPanel.Controls.Add(checkBox, 0, index);
checkBox.Dock = DockStyle.Fill; checkBox.Dock = DockStyle.Top;
checkBox.Margin = new Padding(3, 14, 0, 0); checkBox.Margin = new Padding(6, 32, 0, 0);
checkBox.CheckedChanged += CheckedChanged; checkBox.CheckedChanged += CheckedChanged;
checkBox.Checked = true; checkBox.Checked = true;
} }