added anchor to dropdown box and labels so all is visible when using a different screen dpi.

This commit is contained in:
John Jenko 2015-02-23 22:10:24 +00:00
parent d84f9b2e64
commit 50d77f7f43

View File

@ -119,6 +119,7 @@ namespace VEPROMS
this.lblWarning.Location = new System.Drawing.Point(5, 175);
this.lblWarning.Name = "lblWarning";
this.lblWarning.Size = new System.Drawing.Size(290, 38);
this.lblWarning.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.lblWarning.TabIndex = 4;
this.lblWarning.Visible = false;
//
@ -127,6 +128,7 @@ namespace VEPROMS
this.lblDescription.Location = new System.Drawing.Point(5, 66);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(290, 109);
this.lblDescription.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.lblDescription.TabIndex = 3;
//
// lblCaption
@ -135,6 +137,7 @@ namespace VEPROMS
this.lblCaption.Location = new System.Drawing.Point(5, 48);
this.lblCaption.Name = "lblCaption";
this.lblCaption.Size = new System.Drawing.Size(290, 19);
this.lblCaption.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.lblCaption.TabIndex = 2;
this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
@ -145,6 +148,7 @@ namespace VEPROMS
this.cbxAdminTools.Location = new System.Drawing.Point(5, 27);
this.cbxAdminTools.Name = "cbxAdminTools";
this.cbxAdminTools.Size = new System.Drawing.Size(290, 21);
this.cbxAdminTools.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.cbxAdminTools.TabIndex = 1;
this.cbxAdminTools.WatermarkBehavior = DevComponents.DotNetBar.eWatermarkBehavior.HideNonEmpty;
this.cbxAdminTools.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));