MichelZ/MediaPortal-1 — comment on commit d7f46f19d49f7be9a3f78e57487ef894688da3dc
File:  line 0
By arion-p:

I don't know why no one has spotted this before but it is quite an obvious bug. Thx for the patch.
Of course the entire loop could be simplified, e.g.:

```C#
private void ShiftControlsUp(int index)
{
int spacing = Spacing(System.Windows.Controls.Orientation.Vertical);

for (int i = index+1; i < Children.Count; i++)
{
Children[i].YPosition -= (Children[index].Height + spacing);
}
}
```