mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-19 23:11:03 +00:00
Info panel: fix executor delay being shown incorrectly above 100% GUI scale
This commit is contained in:
parent
a66175b93d
commit
181df8bb15
2 changed files with 3 additions and 7 deletions
|
@ -152,9 +152,9 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
//
|
||||
// activationlabel
|
||||
//
|
||||
this.activationlabel.Location = new System.Drawing.Point(8, 34);
|
||||
this.activationlabel.Location = new System.Drawing.Point(78, 34);
|
||||
this.activationlabel.Name = "activationlabel";
|
||||
this.activationlabel.Size = new System.Drawing.Size(58, 14);
|
||||
this.activationlabel.Size = new System.Drawing.Size(100, 14);
|
||||
this.activationlabel.TabIndex = 30;
|
||||
this.activationlabel.Text = "Activation:";
|
||||
this.activationlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
|
@ -236,7 +236,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
//
|
||||
this.activation.AutoSize = true;
|
||||
this.activation.BackColor = System.Drawing.Color.Transparent;
|
||||
this.activation.Location = new System.Drawing.Point(66, 34);
|
||||
this.activation.Location = new System.Drawing.Point(180, 34);
|
||||
this.activation.Name = "activation";
|
||||
this.activation.Size = new System.Drawing.Size(162, 13);
|
||||
this.activation.TabIndex = 31;
|
||||
|
|
|
@ -125,10 +125,6 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
activationlabel.Visible = true;
|
||||
activation.Visible = true;
|
||||
|
||||
activationlabel.Size = new Size(100, 14);
|
||||
activationlabel.Location = new Point(78, 34);
|
||||
activation.Location = new Point(180, 34);
|
||||
|
||||
int locknum = l.Fields.GetValue("executordelay", 0);
|
||||
if(locknum != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue