Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsScenariosView.Designer.cs =================================================================== diff -u -rfea3ed82dfb6dfcad535eef16efcbaa9c01564ed -ree3ff1844224a0ee258dcab595a2ca0213ac9cd0 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsScenariosView.Designer.cs (.../GrassCoverErosionInwardsScenariosView.Designer.cs) (revision fea3ed82dfb6dfcad535eef16efcbaa9c01564ed) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsScenariosView.Designer.cs (.../GrassCoverErosionInwardsScenariosView.Designer.cs) (revision ee3ff1844224a0ee258dcab595a2ca0213ac9cd0) @@ -47,20 +47,20 @@ // this.dataGridViewControl.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewControl.Location = new System.Drawing.Point(0, 0); - this.dataGridViewControl.Margin = new System.Windows.Forms.Padding(5); - this.dataGridViewControl.MinimumSize = new System.Drawing.Size(667, 369); + this.dataGridViewControl.MultiSelect = true; this.dataGridViewControl.Name = "dataGridViewControl"; - this.dataGridViewControl.Size = new System.Drawing.Size(667, 555); + this.dataGridViewControl.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.RowHeaderSelect; + this.dataGridViewControl.Size = new System.Drawing.Size(368, 426); this.dataGridViewControl.TabIndex = 0; // // GrassCoverErosionInwardsScenariosView // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScroll = true; this.Controls.Add(this.dataGridViewControl); - this.Margin = new System.Windows.Forms.Padding(4); this.Name = "GrassCoverErosionInwardsScenariosView"; - this.Size = new System.Drawing.Size(664, 555); + this.Size = new System.Drawing.Size(368, 426); this.ResumeLayout(false); } Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsScenariosView.cs =================================================================== diff -u -re052252f6f2523cfb33413867a939834ef763ce5 -ree3ff1844224a0ee258dcab595a2ca0213ac9cd0 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsScenariosView.cs (.../GrassCoverErosionInwardsScenariosView.cs) (revision e052252f6f2523cfb33413867a939834ef763ce5) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsScenariosView.cs (.../GrassCoverErosionInwardsScenariosView.cs) (revision ee3ff1844224a0ee258dcab595a2ca0213ac9cd0) @@ -131,8 +131,7 @@ Properties.Resources.GrassCoverErosionInwardsScenariosView_AddDataGridColumns_Calculation, null, TypeUtils.GetMemberName>(wrapper => wrapper.WrappedObject), - TypeUtils.GetMemberName>(wrapper => wrapper.DisplayName) - ); + TypeUtils.GetMemberName>(wrapper => wrapper.DisplayName)); } private void UpdateDataGridViewDataSource() Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsScenariosViewTest.cs =================================================================== diff -u -r7f759fbabca9c41e75d229269f1b21581b373b5f -ree3ff1844224a0ee258dcab595a2ca0213ac9cd0 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsScenariosViewTest.cs (.../GrassCoverErosionInwardsScenariosViewTest.cs) (revision 7f759fbabca9c41e75d229269f1b21581b373b5f) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsScenariosViewTest.cs (.../GrassCoverErosionInwardsScenariosViewTest.cs) (revision ee3ff1844224a0ee258dcab595a2ca0213ac9cd0) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Drawing; using System.Windows.Forms; using Core.Common.Controls.Views; using NUnit.Extensions.Forms; @@ -60,6 +61,8 @@ // Assert Assert.IsInstanceOf(view); Assert.IsInstanceOf(view); + Assert.AreEqual(new Size(0, 0), dataGridView.MinimumSize); + Assert.IsTrue(view.AutoScroll); Assert.IsNull(view.Data); Assert.IsNull(view.FailureMechanism);