Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismResultView.Designer.cs =================================================================== diff -u -r971bf6a5b105ff3f1d1a1106eb4a82682697fb47 -r3080ea4ade4fe908b263330623e92b9629dd4259 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismResultView.Designer.cs (.../FailureMechanismResultView.Designer.cs) (revision 971bf6a5b105ff3f1d1a1106eb4a82682697fb47) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismResultView.Designer.cs (.../FailureMechanismResultView.Designer.cs) (revision 3080ea4ade4fe908b263330623e92b9629dd4259) @@ -59,7 +59,7 @@ // this.tableLayoutPanel.ColumnCount = 2; this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 30F)); this.tableLayoutPanel.Controls.Add(this.infoIcon, 1, 0); this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Top; this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0); @@ -73,9 +73,10 @@ // this.infoIcon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.infoIcon.Dock = System.Windows.Forms.DockStyle.Fill; - this.infoIcon.Location = new System.Drawing.Point(505, 3); + this.infoIcon.Location = new System.Drawing.Point(499, 7); + this.infoIcon.Margin = new System.Windows.Forms.Padding(7); this.infoIcon.Name = "infoIcon"; - this.infoIcon.Size = new System.Drawing.Size(14, 24); + this.infoIcon.Size = new System.Drawing.Size(16, 16); this.infoIcon.TabIndex = 0; this.infoIcon.TabStop = false; // Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismResultView.cs =================================================================== diff -u -r971bf6a5b105ff3f1d1a1106eb4a82682697fb47 -r3080ea4ade4fe908b263330623e92b9629dd4259 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismResultView.cs (.../FailureMechanismResultView.cs) (revision 971bf6a5b105ff3f1d1a1106eb4a82682697fb47) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismResultView.cs (.../FailureMechanismResultView.cs) (revision 3080ea4ade4fe908b263330623e92b9629dd4259) @@ -74,9 +74,8 @@ } InitializeComponent(); + InitializeInfoIcon(); - InitializeToolTip(); - FailureMechanism = failureMechanism; this.failureMechanismSectionResults = failureMechanismSectionResults; @@ -98,7 +97,7 @@ }; } - private void InitializeToolTip() + private void InitializeInfoIcon() { infoIcon.BackgroundImage = CoreCommonGuiResources.information; toolTip.SetToolTip(infoIcon, Resources.FailureMechanismResultView_InfoToolTip); Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/FailureMechanismResultViewTest.cs =================================================================== diff -u -r971bf6a5b105ff3f1d1a1106eb4a82682697fb47 -r3080ea4ade4fe908b263330623e92b9629dd4259 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/FailureMechanismResultViewTest.cs (.../FailureMechanismResultViewTest.cs) (revision 971bf6a5b105ff3f1d1a1106eb4a82682697fb47) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/FailureMechanismResultViewTest.cs (.../FailureMechanismResultViewTest.cs) (revision 3080ea4ade4fe908b263330623e92b9629dd4259) @@ -76,21 +76,6 @@ testForm.Show(); // Assert - var dataGridView = (DataGridViewControl) new ControlTester("DataGridViewControl").TheObject; - Assert.AreEqual(DockStyle.Fill, dataGridView.Dock); - Assert.AreEqual(DataGridViewSelectionMode.RowHeaderSelect, dataGridView.SelectionMode); - - var tableLayoutPanel = (TableLayoutPanel) new ControlTester("tableLayoutPanel").TheObject; - Assert.AreEqual(DockStyle.Top, tableLayoutPanel.Dock); - Assert.AreEqual(2, tableLayoutPanel.ColumnCount); - Assert.AreEqual(SizeType.Percent, tableLayoutPanel.ColumnStyles[0].SizeType); - Assert.AreEqual(100F, tableLayoutPanel.ColumnStyles[0].Width); - Assert.AreEqual(SizeType.Absolute, tableLayoutPanel.ColumnStyles[1].SizeType); - Assert.AreEqual(20F, tableLayoutPanel.ColumnStyles[1].Width); - Assert.AreEqual(1, tableLayoutPanel.RowCount); - Assert.AreEqual(SizeType.Percent, tableLayoutPanel.RowStyles[0].SizeType); - Assert.AreEqual(100F, tableLayoutPanel.RowStyles[0].Height); - var infoIcon = (PictureBox) new ControlTester("infoIcon").TheObject; TestHelper.AssertImagesAreEqual(CoreCommonGuiResources.information, infoIcon.BackgroundImage); Assert.AreEqual(ImageLayout.Center, infoIcon.BackgroundImageLayout);