Disable resizing on AddCategory form and made ANIM Editor start in the center of the parent form

This commit is contained in:
miku-666
2022-12-23 17:51:50 +01:00
parent 8b0de40fa5
commit e498dd332d
3 changed files with 11 additions and 2 deletions

View File

@@ -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";

View File

@@ -232,7 +232,7 @@
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>264, 105</value>
<value>280, 121</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 8.25pt</value>
@@ -2460,6 +2460,12 @@
<data name="$this.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing">
<value>280, 121</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>280, 121</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
@@ -2467,6 +2473,6 @@
<value>AddCategory</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>PckStudio.Classes.ToolboxItems.ThemeForm, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null</value>
<value>PckStudio.ToolboxItems.ThemeForm, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@@ -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();