From cadbc233939a36629a8cf33d2eb6439990cab497 Mon Sep 17 00:00:00 2001 From: MattNL Date: Mon, 28 Nov 2022 22:31:49 -0500 Subject: [PATCH] Fixed NumericUpDown background colors in COLEditor --- PCK-Studio/Forms/Editor/COLEditor.Designer.cs | 8 ++++---- PCK-Studio/Forms/Editor/COLEditor.resx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PCK-Studio/Forms/Editor/COLEditor.Designer.cs b/PCK-Studio/Forms/Editor/COLEditor.Designer.cs index 85fd1f15..112fb314 100644 --- a/PCK-Studio/Forms/Editor/COLEditor.Designer.cs +++ b/PCK-Studio/Forms/Editor/COLEditor.Designer.cs @@ -166,7 +166,7 @@ namespace PckStudio.Forms.Editor // // blueUpDown // - this.blueUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.blueUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); this.blueUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); resources.ApplyResources(this.blueUpDown, "blueUpDown"); this.blueUpDown.Maximum = new decimal(new int[] { @@ -178,7 +178,7 @@ namespace PckStudio.Forms.Editor // // greenUpDown // - this.greenUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.greenUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); this.greenUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); resources.ApplyResources(this.greenUpDown, "greenUpDown"); this.greenUpDown.Maximum = new decimal(new int[] { @@ -190,7 +190,7 @@ namespace PckStudio.Forms.Editor // // redUpDown // - this.redUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.redUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); this.redUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); resources.ApplyResources(this.redUpDown, "redUpDown"); this.redUpDown.Maximum = new decimal(new int[] { @@ -202,7 +202,7 @@ namespace PckStudio.Forms.Editor // // alphaUpDown // - this.alphaUpDown.BackColor = System.Drawing.SystemColors.Desktop; + this.alphaUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); this.alphaUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); resources.ApplyResources(this.alphaUpDown, "alphaUpDown"); this.alphaUpDown.Maximum = new decimal(new int[] { diff --git a/PCK-Studio/Forms/Editor/COLEditor.resx b/PCK-Studio/Forms/Editor/COLEditor.resx index 9c9b77a0..9a20d780 100644 --- a/PCK-Studio/Forms/Editor/COLEditor.resx +++ b/PCK-Studio/Forms/Editor/COLEditor.resx @@ -533,7 +533,7 @@ - 180, 22 + 98, 22 Save @@ -674,7 +674,7 @@ Paste Color - 187, 92 + 187, 70 ColorContextMenu