From e498dd332db8b95bca90ecc36ff3b0f995d34b0a Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Fri, 23 Dec 2022 17:51:50 +0100 Subject: [PATCH] Disable resizing on AddCategory form and made ANIM Editor start in the center of the parent form --- .../Additional-Popups/Audio/addCategory.Designer.cs | 1 + .../Forms/Additional-Popups/Audio/addCategory.resx | 10 ++++++++-- .../Forms/Utilities/Skins/ANIMEditor.Designer.cs | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs b/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs index a493d1e4..7983ae6b 100644 --- a/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs +++ b/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs @@ -75,6 +75,7 @@ this.Controls.Add(this.button1); this.Controls.Add(this.label2); this.ForeColor = System.Drawing.Color.White; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "AddCategory"; diff --git a/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.resx b/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.resx index f44699d6..8d3084ad 100644 --- a/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.resx +++ b/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.resx @@ -232,7 +232,7 @@ 6, 13 - 264, 105 + 280, 121 Segoe UI, 8.25pt @@ -2460,6 +2460,12 @@ 0, 0 + + 280, 121 + + + 280, 121 + CenterParent @@ -2467,6 +2473,6 @@ AddCategory - PckStudio.Classes.ToolboxItems.ThemeForm, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null + PckStudio.ToolboxItems.ThemeForm, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null \ No newline at end of file diff --git a/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs b/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs index 263e08aa..b2d29e3f 100644 --- a/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs +++ b/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs @@ -717,10 +717,12 @@ this.Controls.Add(this.closeButton); this.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.ForeColor = System.Drawing.Color.White; + this.Location = new System.Drawing.Point(0, 0); this.MaximumSize = new System.Drawing.Size(630, 554); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(630, 554); this.Name = "ANIMEditor"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "ANIM Editor"; this.effectsGroup.ResumeLayout(false); this.effectsGroup.PerformLayout();