CA-238884: Some layout corrections to ease localisation for the PvsPage.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2018-10-04 10:44:58 +01:00 committed by Mihaela Stoica
parent c1c368070a
commit ca0f4ce1d4
2 changed files with 95 additions and 122 deletions

View File

@ -38,16 +38,14 @@
this.ColumnPvsSite = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColumnStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label2 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.ConfigureButton = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.enableButton = new XenAdmin.Commands.CommandButton();
this.disableButton = new XenAdmin.Commands.CommandButton();
this.ConfigureButton = new System.Windows.Forms.Button();
this.pageContainerPanel.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewVms)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.SuspendLayout();
//
// pageContainerPanel
@ -60,8 +58,8 @@
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
this.tableLayoutPanel1.Controls.Add(this.dataGridViewVms, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.ConfigureButton, 0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
//
// dataGridViewVms
@ -118,25 +116,12 @@
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// panel1
// tableLayoutPanel2
//
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Controls.Add(this.ConfigureButton);
this.panel1.Name = "panel1";
//
// ConfigureButton
//
resources.ApplyResources(this.ConfigureButton, "ConfigureButton");
this.ConfigureButton.Name = "ConfigureButton";
this.ConfigureButton.UseVisualStyleBackColor = true;
this.ConfigureButton.Click += new System.EventHandler(this.ConfigureButton_Click);
//
// panel2
//
resources.ApplyResources(this.panel2, "panel2");
this.panel2.Controls.Add(this.enableButton);
this.panel2.Controls.Add(this.disableButton);
this.panel2.Name = "panel2";
resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
this.tableLayoutPanel2.Controls.Add(this.enableButton, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.disableButton, 1, 0);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
//
// enableButton
//
@ -150,6 +135,13 @@
this.disableButton.Name = "disableButton";
this.disableButton.UseVisualStyleBackColor = true;
//
// ConfigureButton
//
resources.ApplyResources(this.ConfigureButton, "ConfigureButton");
this.ConfigureButton.Name = "ConfigureButton";
this.ConfigureButton.UseVisualStyleBackColor = true;
this.ConfigureButton.Click += new System.EventHandler(this.ConfigureButton_Click);
//
// PvsPage
//
resources.ApplyResources(this, "$this");
@ -159,8 +151,8 @@
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewVms)).EndInit();
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -172,13 +164,12 @@
private System.Windows.Forms.Label label2;
private Controls.DataGridViewEx.DataGridViewEx dataGridViewVms;
private XenAdmin.Commands.CommandButton disableButton;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private XenAdmin.Commands.CommandButton enableButton;
public System.Windows.Forms.Button ConfigureButton;
private System.Windows.Forms.DataGridViewTextBoxColumn columnVM;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnCachingEnabled;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnPvsSite;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnStatus;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
}
}

View File

@ -169,19 +169,16 @@
<value>Segoe UI, 9pt</value>
</data>
<data name="dataGridViewVms.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 62</value>
</data>
<data name="dataGridViewVms.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 1, 5</value>
<value>3, 62</value>
</data>
<data name="dataGridViewVms.MaximumSize" type="System.Drawing.Size, System.Drawing">
<value>900, 500</value>
</data>
<data name="dataGridViewVms.Size" type="System.Drawing.Size, System.Drawing">
<value>854, 279</value>
<value>849, 287</value>
</data>
<data name="dataGridViewVms.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
<value>2</value>
</data>
<data name="&gt;&gt;dataGridViewVms.Name" xml:space="preserve">
<value>dataGridViewVms</value>
@ -202,19 +199,16 @@
<value>Segoe UI, 11.25pt</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 39</value>
<value>3, 39</value>
</data>
<data name="label2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 10, 0, 0</value>
</data>
<data name="label2.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 3</value>
<value>3, 10, 3, 0</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>118, 23</value>
<value>118, 20</value>
</data>
<data name="label2.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
<value>1</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Virtual Machines</value>
@ -231,80 +225,29 @@
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="panel1.AutoSize" type="System.Boolean, mscorlib">
<data name="tableLayoutPanel2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="ConfigureButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
<data name="tableLayoutPanel2.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="ConfigureButton.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 3</value>
</data>
<data name="ConfigureButton.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>5, 0, 5, 0</value>
</data>
<data name="ConfigureButton.Size" type="System.Drawing.Size, System.Drawing">
<value>178, 23</value>
</data>
<data name="ConfigureButton.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="ConfigureButton.Text" xml:space="preserve">
<value>&amp;Configure PVS-Accelerator...</value>
</data>
<data name="&gt;&gt;ConfigureButton.Name" xml:space="preserve">
<value>ConfigureButton</value>
</data>
<data name="&gt;&gt;ConfigureButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;ConfigureButton.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;ConfigureButton.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="panel1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>181, 29</value>
</data>
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
</data>
<data name="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;panel1.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;panel1.ZOrder" xml:space="preserve">
<data name="tableLayoutPanel2.ColumnCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="panel2.AutoSize" type="System.Boolean, mscorlib">
<data name="enableButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="enableButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="enableButton.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 3</value>
</data>
<data name="enableButton.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>5, 0, 5, 0</value>
<value>3, 3</value>
</data>
<data name="enableButton.Size" type="System.Drawing.Size, System.Drawing">
<value>170, 23</value>
</data>
<data name="enableButton.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
<value>0</value>
</data>
<data name="enableButton.Text" xml:space="preserve">
<value>Enable PVS-Accelerator...</value>
@ -316,25 +259,25 @@
<value>XenAdmin.Commands.CommandButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;enableButton.Parent" xml:space="preserve">
<value>panel2</value>
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;enableButton.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="disableButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="disableButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="disableButton.Location" type="System.Drawing.Point, System.Drawing">
<value>176, 3</value>
</data>
<data name="disableButton.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>5, 0, 5, 0</value>
<value>179, 3</value>
</data>
<data name="disableButton.Size" type="System.Drawing.Size, System.Drawing">
<value>170, 23</value>
</data>
<data name="disableButton.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
<value>1</value>
</data>
<data name="disableButton.Text" xml:space="preserve">
<value>&amp;Disable PVS-Accelerator</value>
@ -346,33 +289,72 @@
<value>XenAdmin.Commands.CommandButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;disableButton.Parent" xml:space="preserve">
<value>panel2</value>
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;disableButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="panel2.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 349</value>
<data name="tableLayoutPanel2.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="panel2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 3, 0, 3</value>
<data name="tableLayoutPanel2.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 352</value>
</data>
<data name="panel2.Size" type="System.Drawing.Size, System.Drawing">
<value>349, 29</value>
<data name="tableLayoutPanel2.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data>
<data name="panel2.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
<data name="tableLayoutPanel2.RowCount" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;panel2.Name" xml:space="preserve">
<value>panel2</value>
<data name="tableLayoutPanel2.Size" type="System.Drawing.Size, System.Drawing">
<value>855, 29</value>
</data>
<data name="&gt;&gt;panel2.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="tableLayoutPanel2.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;panel2.Parent" xml:space="preserve">
<data name="&gt;&gt;tableLayoutPanel2.Name" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;panel2.ZOrder" xml:space="preserve">
<data name="&gt;&gt;tableLayoutPanel2.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="tableLayoutPanel2.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="enableButton" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="disableButton" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="AutoSize,0,Percent,100" /&gt;&lt;Rows Styles="AutoSize,0" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="ConfigureButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="ConfigureButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="ConfigureButton.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="ConfigureButton.Size" type="System.Drawing.Size, System.Drawing">
<value>180, 23</value>
</data>
<data name="ConfigureButton.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="ConfigureButton.Text" xml:space="preserve">
<value>&amp;Configure PVS-Accelerator...</value>
</data>
<data name="&gt;&gt;ConfigureButton.Name" xml:space="preserve">
<value>ConfigureButton</value>
</data>
<data name="&gt;&gt;ConfigureButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;ConfigureButton.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;ConfigureButton.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
@ -406,7 +388,7 @@
<value>0</value>
</data>
<data name="tableLayoutPanel1.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="dataGridViewVms" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="panel1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="panel2" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,20,AutoSize,0,Percent,100,AutoSize,0" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="dataGridViewVms" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="label2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="tableLayoutPanel2" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="ConfigureButton" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100,Absolute,20" /&gt;&lt;Rows Styles="AutoSize,20,AutoSize,0,Percent,100,AutoSize,0" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="pageContainerPanel.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 78</value>