Index: src/Deltares.DSoilModel.Forms/DSoilModelPlugin.cs
===================================================================
diff -u -r444 -r447
--- src/Deltares.DSoilModel.Forms/DSoilModelPlugin.cs (.../DSoilModelPlugin.cs) (revision 444)
+++ src/Deltares.DSoilModel.Forms/DSoilModelPlugin.cs (.../DSoilModelPlugin.cs) (revision 447)
@@ -1885,7 +1885,7 @@
// prompt the user to select the field
var modalList = new ModalListBox
{
- Text = "Segment ID:",
+ Text = LocalizationManager.GetTranslatedText(typeof(DSoilModelPlugin), "WhichColumnToUseAsSegmentID"),
Items = ex.AttributeNames.ToList()
};
modalList.ShowDialog();
Index: src/Deltares.DSoilModel.Forms/ModalListBox.Designer.cs
===================================================================
diff -u -r6 -r447
--- src/Deltares.DSoilModel.Forms/ModalListBox.Designer.cs (.../ModalListBox.Designer.cs) (revision 6)
+++ src/Deltares.DSoilModel.Forms/ModalListBox.Designer.cs (.../ModalListBox.Designer.cs) (revision 447)
@@ -40,18 +40,20 @@
this.OKButton.Controls.Add(this.buttonCancel);
this.OKButton.Controls.Add(this.buttonOK);
this.OKButton.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.OKButton.Location = new System.Drawing.Point(0, 232);
+ this.OKButton.Location = new System.Drawing.Point(0, 285);
+ this.OKButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.OKButton.Name = "OKButton";
- this.OKButton.Size = new System.Drawing.Size(246, 37);
+ this.OKButton.Size = new System.Drawing.Size(328, 46);
this.OKButton.TabIndex = 1;
//
// buttonCancel
//
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.buttonCancel.Location = new System.Drawing.Point(162, 7);
+ this.buttonCancel.Location = new System.Drawing.Point(216, 9);
+ this.buttonCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.Size = new System.Drawing.Size(75, 23);
+ this.buttonCancel.Size = new System.Drawing.Size(100, 28);
this.buttonCancel.TabIndex = 2;
this.buttonCancel.Text = "Cancel";
this.buttonCancel.UseVisualStyleBackColor = true;
@@ -60,9 +62,10 @@
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.buttonOK.Location = new System.Drawing.Point(81, 7);
+ this.buttonOK.Location = new System.Drawing.Point(108, 9);
+ this.buttonOK.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.buttonOK.Name = "buttonOK";
- this.buttonOK.Size = new System.Drawing.Size(75, 23);
+ this.buttonOK.Size = new System.Drawing.Size(100, 28);
this.buttonOK.TabIndex = 1;
this.buttonOK.Text = "OK";
this.buttonOK.UseVisualStyleBackColor = true;
@@ -71,21 +74,25 @@
//
this.ItemList.Dock = System.Windows.Forms.DockStyle.Fill;
this.ItemList.FormattingEnabled = true;
+ this.ItemList.ItemHeight = 16;
this.ItemList.Location = new System.Drawing.Point(0, 0);
+ this.ItemList.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ItemList.Name = "ItemList";
- this.ItemList.Size = new System.Drawing.Size(246, 232);
+ this.ItemList.Size = new System.Drawing.Size(328, 285);
this.ItemList.TabIndex = 2;
this.ItemList.DoubleClick += new System.EventHandler(this.ItemList_DoubleClick);
//
// ModalListBox
//
this.AcceptButton = this.buttonOK;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoSize = true;
this.CancelButton = this.buttonCancel;
- this.ClientSize = new System.Drawing.Size(246, 269);
+ this.ClientSize = new System.Drawing.Size(328, 331);
this.Controls.Add(this.ItemList);
this.Controls.Add(this.OKButton);
+ this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "ModalListBox";
this.ShowInTaskbar = false;
this.OKButton.ResumeLayout(false);
Index: src/Deltares.DSoilModel.Forms/Translations.xml
===================================================================
diff -u -r444 -r447
--- src/Deltares.DSoilModel.Forms/Translations.xml (.../Translations.xml) (revision 444)
+++ src/Deltares.DSoilModel.Forms/Translations.xml (.../Translations.xml) (revision 447)
@@ -92,6 +92,7 @@
-
+
+