Fixed issues when running in windows 7 which doesn't seem to support padding properly, rejigged everything to be simpler

This commit is contained in:
2022-07-20 20:21:20 +00:00
parent 63eebfee2f
commit 551db31a91
26 changed files with 175 additions and 185 deletions

View File

@@ -36,7 +36,8 @@
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(656, 108);
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(656, 115);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 19;
@@ -46,8 +47,9 @@
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(19, 107);
this.btnCancel.Location = new System.Drawing.Point(16, 115);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 18;
@@ -57,17 +59,15 @@
//
// cbItems
//
this.cbItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbItems.FormattingEnabled = true;
this.cbItems.Location = new System.Drawing.Point(16, 29);
this.cbItems.Location = new System.Drawing.Point(16, 35);
this.cbItems.Name = "cbItems";
this.cbItems.Size = new System.Drawing.Size(715, 21);
this.cbItems.TabIndex = 17;
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(715, 13);
@@ -88,7 +88,6 @@
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "MapSelectAyaNovaItem";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "AyaNova items";