Grid is used instead of DockPanel