Minor UI tweaks to prevent the labels from over lapping the textboxes on smaller DPI screens.
This commit is contained in:
+27
-18
@@ -42,10 +42,11 @@
|
||||
// suppliersListBox
|
||||
//
|
||||
this.suppliersListBox.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
||||
this.suppliersListBox.Location = new System.Drawing.Point(257, 12);
|
||||
this.suppliersListBox.Location = new System.Drawing.Point(140, 7);
|
||||
this.suppliersListBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.suppliersListBox.MultiSelect = false;
|
||||
this.suppliersListBox.Name = "suppliersListBox";
|
||||
this.suppliersListBox.Size = new System.Drawing.Size(423, 412);
|
||||
this.suppliersListBox.Size = new System.Drawing.Size(233, 225);
|
||||
this.suppliersListBox.TabIndex = 16;
|
||||
this.suppliersListBox.TabStop = false;
|
||||
this.suppliersListBox.UseCompatibleStateImageBehavior = false;
|
||||
@@ -53,52 +54,58 @@
|
||||
//
|
||||
// descriptionTextBox
|
||||
//
|
||||
this.descriptionTextBox.Location = new System.Drawing.Point(14, 115);
|
||||
this.descriptionTextBox.Location = new System.Drawing.Point(5, 74);
|
||||
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;
|
||||
//
|
||||
// descriptionLabel
|
||||
//
|
||||
this.descriptionLabel.AutoSize = true;
|
||||
this.descriptionLabel.Location = new System.Drawing.Point(14, 82);
|
||||
this.descriptionLabel.Location = new System.Drawing.Point(5, 56);
|
||||
this.descriptionLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.descriptionLabel.Name = "descriptionLabel";
|
||||
this.descriptionLabel.Size = new System.Drawing.Size(207, 25);
|
||||
this.descriptionLabel.Size = new System.Drawing.Size(111, 13);
|
||||
this.descriptionLabel.TabIndex = 15;
|
||||
this.descriptionLabel.Text = "Description (Optional):";
|
||||
//
|
||||
// informationLabel
|
||||
//
|
||||
this.informationLabel.AutoSize = true;
|
||||
this.informationLabel.Location = new System.Drawing.Point(14, 162);
|
||||
this.informationLabel.Location = new System.Drawing.Point(8, 88);
|
||||
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 = 14;
|
||||
//
|
||||
// newSupplierTextBox
|
||||
//
|
||||
this.newSupplierTextBox.Location = new System.Drawing.Point(14, 45);
|
||||
this.newSupplierTextBox.Location = new System.Drawing.Point(5, 24);
|
||||
this.newSupplierTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.newSupplierTextBox.MaxLength = 32;
|
||||
this.newSupplierTextBox.Name = "newSupplierTextBox";
|
||||
this.newSupplierTextBox.Size = new System.Drawing.Size(228, 29);
|
||||
this.newSupplierTextBox.Size = new System.Drawing.Size(126, 20);
|
||||
this.newSupplierTextBox.TabIndex = 1;
|
||||
//
|
||||
// newSupplierLabel
|
||||
//
|
||||
this.newSupplierLabel.AutoSize = true;
|
||||
this.newSupplierLabel.Location = new System.Drawing.Point(14, 12);
|
||||
this.newSupplierLabel.Location = new System.Drawing.Point(5, 7);
|
||||
this.newSupplierLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.newSupplierLabel.Name = "newSupplierLabel";
|
||||
this.newSupplierLabel.Size = new System.Drawing.Size(166, 25);
|
||||
this.newSupplierLabel.Size = new System.Drawing.Size(90, 13);
|
||||
this.newSupplierLabel.TabIndex = 11;
|
||||
this.newSupplierLabel.Text = "Register Supplier:";
|
||||
//
|
||||
// deleteSupplierButton
|
||||
//
|
||||
this.deleteSupplierButton.Enabled = false;
|
||||
this.deleteSupplierButton.Location = new System.Drawing.Point(12, 430);
|
||||
this.deleteSupplierButton.Location = new System.Drawing.Point(7, 233);
|
||||
this.deleteSupplierButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.deleteSupplierButton.Name = "deleteSupplierButton";
|
||||
this.deleteSupplierButton.Size = new System.Drawing.Size(200, 50);
|
||||
this.deleteSupplierButton.Size = new System.Drawing.Size(109, 27);
|
||||
this.deleteSupplierButton.TabIndex = 4;
|
||||
this.deleteSupplierButton.Text = "Remove Supplier";
|
||||
this.deleteSupplierButton.UseVisualStyleBackColor = true;
|
||||
@@ -107,9 +114,10 @@
|
||||
// registerSupplierButton
|
||||
//
|
||||
this.registerSupplierButton.Enabled = false;
|
||||
this.registerSupplierButton.Location = new System.Drawing.Point(480, 430);
|
||||
this.registerSupplierButton.Location = new System.Drawing.Point(262, 233);
|
||||
this.registerSupplierButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.registerSupplierButton.Name = "registerSupplierButton";
|
||||
this.registerSupplierButton.Size = new System.Drawing.Size(200, 50);
|
||||
this.registerSupplierButton.Size = new System.Drawing.Size(109, 27);
|
||||
this.registerSupplierButton.TabIndex = 3;
|
||||
this.registerSupplierButton.Text = "Register Supplier";
|
||||
this.registerSupplierButton.UseVisualStyleBackColor = true;
|
||||
@@ -117,9 +125,9 @@
|
||||
//
|
||||
// FrmManageSuppliers
|
||||
//
|
||||
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.suppliersListBox);
|
||||
this.Controls.Add(this.descriptionTextBox);
|
||||
this.Controls.Add(this.descriptionLabel);
|
||||
@@ -130,6 +138,7 @@
|
||||
this.Controls.Add(this.registerSupplierButton);
|
||||
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 = "FrmManageSuppliers";
|
||||
|
||||
Reference in New Issue
Block a user