Corrected sizes.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
This commit is contained in:
Konstantina Chremmou 2023-10-31 11:03:50 +00:00
parent 736f338cd2
commit 2e9c144bd9
2 changed files with 50 additions and 71 deletions

View File

@ -126,12 +126,12 @@ namespace XenAdmin.SettingsPanels
//
this.CheckDataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
this.CheckDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
resources.ApplyResources(this.CheckDataGridView, "CheckDataGridView");
this.CheckDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.CheckDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.CheckColumn,
this.WarningThresholdColumn,
this.CriticalThresholdColumn});
resources.ApplyResources(this.CheckDataGridView, "CheckDataGridView");
this.CheckDataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.CheckDataGridView.Name = "CheckDataGridView";
this.CheckDataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;

View File

@ -133,13 +133,13 @@
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="DescLabelPool.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 0</value>
<value>3, 0</value>
</data>
<data name="DescLabelPool.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 15</value>
<value>3, 0, 3, 10</value>
</data>
<data name="DescLabelPool.Size" type="System.Drawing.Size, System.Drawing">
<value>967, 40</value>
<value>644, 26</value>
</data>
<data name="DescLabelPool.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -152,7 +152,7 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>DescLabelPool</value>
</data>
<data name="&gt;&gt;DescLabelPool.Type" xml:space="preserve">
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>XenAdmin.Controls.Common.AutoHeightLabel, [XenCenter], Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;DescLabelPool.Parent" xml:space="preserve">
<value>NRPETableLayoutPanel</value>
@ -170,13 +170,13 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="DescLabelHost.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 55</value>
<value>3, 36</value>
</data>
<data name="DescLabelHost.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 15</value>
<value>3, 0, 3, 10</value>
</data>
<data name="DescLabelHost.Size" type="System.Drawing.Size, System.Drawing">
<value>967, 40</value>
<value>644, 26</value>
</data>
<data name="DescLabelHost.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@ -189,7 +189,7 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>DescLabelHost</value>
</data>
<data name="&gt;&gt;DescLabelHost.Type" xml:space="preserve">
<value>XenAdmin.Controls.Common.AutoHeightLabel, XenCenter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>XenAdmin.Controls.Common.AutoHeightLabel, [XenCenter], Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;DescLabelHost.Parent" xml:space="preserve">
<value>NRPETableLayoutPanel</value>
@ -204,16 +204,16 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="EnableNRPECheckBox.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 114</value>
<value>3, 75</value>
</data>
<data name="EnableNRPECheckBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 12</value>
<value>3, 3, 3, 8</value>
</data>
<data name="EnableNRPECheckBox.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 0, 0</value>
<value>3, 0, 0, 0</value>
</data>
<data name="EnableNRPECheckBox.Size" type="System.Drawing.Size, System.Drawing">
<value>137, 24</value>
<value>95, 17</value>
</data>
<data name="EnableNRPECheckBox.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@ -252,13 +252,10 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="AllowHostsLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 7</value>
</data>
<data name="AllowHostsLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
<value>3, 6</value>
</data>
<data name="AllowHostsLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>142, 20</value>
<value>96, 13</value>
</data>
<data name="AllowHostsLabel.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -282,13 +279,10 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>Left, Right</value>
</data>
<data name="AllowHostsTextBox.Location" type="System.Drawing.Point, System.Drawing">
<value>154, 4</value>
</data>
<data name="AllowHostsTextBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
<value>105, 3</value>
</data>
<data name="AllowHostsTextBox.Size" type="System.Drawing.Size, System.Drawing">
<value>801, 26</value>
<value>530, 20</value>
</data>
<data name="AllowHostsTextBox.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@ -312,16 +306,13 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="DebugLogCheckBox.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 38</value>
</data>
<data name="DebugLogCheckBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
<value>3, 29</value>
</data>
<data name="DebugLogCheckBox.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 0, 0</value>
<value>3, 0, 0, 0</value>
</data>
<data name="DebugLogCheckBox.Size" type="System.Drawing.Size, System.Drawing">
<value>313, 24</value>
<value>211, 17</value>
</data>
<data name="DebugLogCheckBox.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@ -348,16 +339,13 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="SslDebugLogCheckBox.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 70</value>
</data>
<data name="SslDebugLogCheckBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
<value>3, 52</value>
</data>
<data name="SslDebugLogCheckBox.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 0, 0</value>
<value>3, 0, 0, 0</value>
</data>
<data name="SslDebugLogCheckBox.Size" type="System.Drawing.Size, System.Drawing">
<value>269, 24</value>
<value>181, 17</value>
</data>
<data name="SslDebugLogCheckBox.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
@ -381,16 +369,13 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>Top</value>
</data>
<data name="GeneralConfigTableLayoutPanel.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 23</value>
</data>
<data name="GeneralConfigTableLayoutPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
<value>3, 16</value>
</data>
<data name="GeneralConfigTableLayoutPanel.RowCount" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="GeneralConfigTableLayoutPanel.Size" type="System.Drawing.Size, System.Drawing">
<value>959, 98</value>
<value>638, 72</value>
</data>
<data name="GeneralConfigTableLayoutPanel.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -408,22 +393,22 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>0</value>
</data>
<data name="GeneralConfigTableLayoutPanel.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="AllowHostsLabel" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="AllowHostsTextBox" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="DebugLogCheckBox" Row="1" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="SslDebugLogCheckBox" Row="2" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Absolute,30" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="AllowHostsLabel" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="AllowHostsTextBox" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="DebugLogCheckBox" Row="1" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;Control Name="SslDebugLogCheckBox" Row="2" RowSpan="1" Column="0" ColumnSpan="2" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="GeneralConfigureGroupBox.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="GeneralConfigureGroupBox.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 154</value>
<value>3, 103</value>
</data>
<data name="GeneralConfigureGroupBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 15</value>
<value>3, 3, 3, 10</value>
</data>
<data name="GeneralConfigureGroupBox.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 0</value>
<value>3, 3, 3, 0</value>
</data>
<data name="GeneralConfigureGroupBox.Size" type="System.Drawing.Size, System.Drawing">
<value>967, 150</value>
<value>644, 100</value>
</data>
<data name="GeneralConfigureGroupBox.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
@ -443,9 +428,6 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<data name="&gt;&gt;GeneralConfigureGroupBox.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="CheckDataGridView.ColumnHeadersHeight" type="System.Int32, mscorlib">
<value>34</value>
</data>
<data name="CheckColumn.HeaderText" xml:space="preserve">
<value>Metric</value>
</data>
@ -474,10 +456,7 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>Fill</value>
</data>
<data name="CheckDataGridView.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 323</value>
</data>
<data name="CheckDataGridView.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
<value>3, 216</value>
</data>
<data name="CheckDataGridView.RowHeadersWidth" type="System.Int32, mscorlib">
<value>62</value>
@ -486,7 +465,7 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>None</value>
</data>
<data name="CheckDataGridView.Size" type="System.Drawing.Size, System.Drawing">
<value>967, 411</value>
<value>644, 273</value>
</data>
<data name="CheckDataGridView.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
@ -495,7 +474,7 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>CheckDataGridView</value>
</data>
<data name="&gt;&gt;CheckDataGridView.Type" xml:space="preserve">
<value>XenAdmin.Controls.DataGridViewEx.DataGridViewEx, XenCenter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>XenAdmin.Controls.DataGridViewEx.DataGridViewEx, [XenCenter], Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;CheckDataGridView.Parent" xml:space="preserve">
<value>NRPETableLayoutPanel</value>
@ -516,13 +495,10 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="RetrieveNRPELabel.Location" type="System.Drawing.Point, System.Drawing">
<value>36, 0</value>
</data>
<data name="RetrieveNRPELabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
<value>24, 0</value>
</data>
<data name="RetrieveNRPELabel.Size" type="System.Drawing.Size, System.Drawing">
<value>928, 32</value>
<value>619, 21</value>
</data>
<data name="RetrieveNRPELabel.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
@ -549,10 +525,13 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>NoControl</value>
</data>
<data name="RetrieveNRPEPicture.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
<value>2, 2</value>
</data>
<data name="RetrieveNRPEPicture.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>2, 2, 2, 2</value>
</data>
<data name="RetrieveNRPEPicture.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 26</value>
<value>17, 17</value>
</data>
<data name="RetrieveNRPEPicture.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
@ -570,13 +549,16 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>1</value>
</data>
<data name="RetrieveNRPEPanel.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 741</value>
<value>2, 494</value>
</data>
<data name="RetrieveNRPEPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>2, 2, 2, 2</value>
</data>
<data name="RetrieveNRPEPanel.RowCount" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="RetrieveNRPEPanel.Size" type="System.Drawing.Size, System.Drawing">
<value>968, 32</value>
<value>646, 21</value>
</data>
<data name="RetrieveNRPEPanel.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
@ -603,13 +585,13 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>0, 0</value>
</data>
<data name="NRPETableLayoutPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 15, 4, 0</value>
<value>3, 10, 3, 0</value>
</data>
<data name="NRPETableLayoutPanel.RowCount" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="NRPETableLayoutPanel.Size" type="System.Drawing.Size, System.Drawing">
<value>975, 806</value>
<value>650, 537</value>
</data>
<data name="NRPETableLayoutPanel.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -627,22 +609,19 @@ Use this page to review and modify the NRPE configuration and metric threshold s
<value>0</value>
</data>
<data name="NRPETableLayoutPanel.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="DescLabelPool" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="DescLabelHost" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="EnableNRPECheckBox" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="GeneralConfigureGroupBox" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="CheckDataGridView" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="RetrieveNRPEPanel" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0,Absolute,30" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="DescLabelPool" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="DescLabelHost" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="EnableNRPECheckBox" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="GeneralConfigureGroupBox" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="CheckDataGridView" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="RetrieveNRPEPanel" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100,AutoSize,0,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>144, 144</value>
<value>96, 96</value>
</data>
<data name="$this.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>975, 806</value>
<value>650, 537</value>
</data>
<data name="&gt;&gt;CheckColumn.Name" xml:space="preserve">
<value>CheckColumn</value>