From 181df8bb1592406eb442303e1158345c9929934a Mon Sep 17 00:00:00 2001 From: spherallic Date: Mon, 11 Sep 2023 15:06:03 +0200 Subject: [PATCH] Info panel: fix executor delay being shown incorrectly above 100% GUI scale --- Source/Core/Controls/LinedefInfoPanel.Designer.cs | 6 +++--- Source/Core/Controls/LinedefInfoPanel.cs | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Source/Core/Controls/LinedefInfoPanel.Designer.cs b/Source/Core/Controls/LinedefInfoPanel.Designer.cs index 690c2fa3..9f5a1980 100755 --- a/Source/Core/Controls/LinedefInfoPanel.Designer.cs +++ b/Source/Core/Controls/LinedefInfoPanel.Designer.cs @@ -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; diff --git a/Source/Core/Controls/LinedefInfoPanel.cs b/Source/Core/Controls/LinedefInfoPanel.cs index b3880096..5edd155a 100755 --- a/Source/Core/Controls/LinedefInfoPanel.cs +++ b/Source/Core/Controls/LinedefInfoPanel.cs @@ -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) {