Minor UI tweaks to prevent the labels from over lapping the textboxes on smaller DPI screens.

This commit is contained in:
2017-04-12 17:49:37 -05:00
parent 6b2ed9d3d7
commit 2e19bba711
3 changed files with 87 additions and 58 deletions
+27 -18
View File
@@ -42,9 +42,10 @@
// registerAdSpecialButton
//
this.registerAdSpecialButton.Enabled = false;
this.registerAdSpecialButton.Location = new System.Drawing.Point(480, 430);
this.registerAdSpecialButton.Location = new System.Drawing.Point(262, 233);
this.registerAdSpecialButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.registerAdSpecialButton.Name = "registerAdSpecialButton";
this.registerAdSpecialButton.Size = new System.Drawing.Size(200, 50);
this.registerAdSpecialButton.Size = new System.Drawing.Size(109, 27);
this.registerAdSpecialButton.TabIndex = 3;
this.registerAdSpecialButton.Text = "Register Ad Special";
this.registerAdSpecialButton.UseVisualStyleBackColor = true;
@@ -53,9 +54,10 @@
// deleteAdSpecialButton
//
this.deleteAdSpecialButton.Enabled = false;
this.deleteAdSpecialButton.Location = new System.Drawing.Point(12, 430);
this.deleteAdSpecialButton.Location = new System.Drawing.Point(7, 233);
this.deleteAdSpecialButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.deleteAdSpecialButton.Name = "deleteAdSpecialButton";
this.deleteAdSpecialButton.Size = new System.Drawing.Size(200, 50);
this.deleteAdSpecialButton.Size = new System.Drawing.Size(109, 27);
this.deleteAdSpecialButton.TabIndex = 4;
this.deleteAdSpecialButton.Text = "Remove Ad Special";
this.deleteAdSpecialButton.UseVisualStyleBackColor = true;
@@ -64,52 +66,58 @@
// newAdSpecialLabel
//
this.newAdSpecialLabel.AutoSize = true;
this.newAdSpecialLabel.Location = new System.Drawing.Point(17, 21);
this.newAdSpecialLabel.Location = new System.Drawing.Point(5, 11);
this.newAdSpecialLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.newAdSpecialLabel.Name = "newAdSpecialLabel";
this.newAdSpecialLabel.Size = new System.Drawing.Size(233, 25);
this.newAdSpecialLabel.Size = new System.Drawing.Size(128, 13);
this.newAdSpecialLabel.TabIndex = 3;
this.newAdSpecialLabel.Text = "Register New Ad Special:";
//
// newAdSpecialTextBox
//
this.newAdSpecialTextBox.Location = new System.Drawing.Point(17, 54);
this.newAdSpecialTextBox.Location = new System.Drawing.Point(5, 29);
this.newAdSpecialTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.newAdSpecialTextBox.MaxLength = 32;
this.newAdSpecialTextBox.Name = "newAdSpecialTextBox";
this.newAdSpecialTextBox.Size = new System.Drawing.Size(228, 29);
this.newAdSpecialTextBox.Size = new System.Drawing.Size(126, 20);
this.newAdSpecialTextBox.TabIndex = 1;
//
// informationLabel
//
this.informationLabel.AutoSize = true;
this.informationLabel.Location = new System.Drawing.Point(17, 171);
this.informationLabel.Location = new System.Drawing.Point(9, 93);
this.informationLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.informationLabel.Name = "informationLabel";
this.informationLabel.Size = new System.Drawing.Size(0, 25);
this.informationLabel.Size = new System.Drawing.Size(0, 13);
this.informationLabel.TabIndex = 5;
//
// adSpecialDescription
//
this.adSpecialDescription.AutoSize = true;
this.adSpecialDescription.Location = new System.Drawing.Point(17, 91);
this.adSpecialDescription.Location = new System.Drawing.Point(5, 61);
this.adSpecialDescription.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.adSpecialDescription.Name = "adSpecialDescription";
this.adSpecialDescription.Size = new System.Drawing.Size(207, 25);
this.adSpecialDescription.Size = new System.Drawing.Size(111, 13);
this.adSpecialDescription.TabIndex = 6;
this.adSpecialDescription.Text = "Description (Optional):";
//
// descriptionTextBox
//
this.descriptionTextBox.Location = new System.Drawing.Point(17, 124);
this.descriptionTextBox.Location = new System.Drawing.Point(5, 79);
this.descriptionTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.descriptionTextBox.MaxLength = 128;
this.descriptionTextBox.Name = "descriptionTextBox";
this.descriptionTextBox.Size = new System.Drawing.Size(228, 29);
this.descriptionTextBox.Size = new System.Drawing.Size(126, 20);
this.descriptionTextBox.TabIndex = 2;
//
// adSpecialsListBox
//
this.adSpecialsListBox.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.adSpecialsListBox.Location = new System.Drawing.Point(260, 21);
this.adSpecialsListBox.Location = new System.Drawing.Point(142, 11);
this.adSpecialsListBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.adSpecialsListBox.MultiSelect = false;
this.adSpecialsListBox.Name = "adSpecialsListBox";
this.adSpecialsListBox.Size = new System.Drawing.Size(420, 401);
this.adSpecialsListBox.Size = new System.Drawing.Size(231, 219);
this.adSpecialsListBox.TabIndex = 8;
this.adSpecialsListBox.TabStop = false;
this.adSpecialsListBox.UseCompatibleStateImageBehavior = false;
@@ -117,9 +125,9 @@
//
// FrmRegisterAdSpecial
//
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(692, 492);
this.ClientSize = new System.Drawing.Size(377, 267);
this.Controls.Add(this.adSpecialsListBox);
this.Controls.Add(this.descriptionTextBox);
this.Controls.Add(this.adSpecialDescription);
@@ -130,6 +138,7 @@
this.Controls.Add(this.registerAdSpecialButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FrmRegisterAdSpecial";