diff --git a/EditGroupForm.cs b/EditSectionForm.cs similarity index 93% rename from EditGroupForm.cs rename to EditSectionForm.cs index 68e0228..5bcc2d8 100644 --- a/EditGroupForm.cs +++ b/EditSectionForm.cs @@ -6,7 +6,7 @@ using RyzStudio.Windows.ThemedForms.PickerBox; namespace RokettoLaunch { - public class EditGroupForm : Form + public class EditSectionForm : Form { private Label label2; private Label label1; @@ -18,7 +18,7 @@ namespace RokettoLaunch private TileGroupModel result = null; - public EditGroupForm(TileGroupModel model = null) + public EditSectionForm(TileGroupModel model = null) { InitializeComponent(); @@ -62,6 +62,7 @@ namespace RokettoLaunch textBox1.IconSize = 13F; textBox1.Location = new System.Drawing.Point(192, 20); textBox1.Name = "textBox1"; + textBox1.Padding = new Padding(4, 4, 3, 3); textBox1.Size = new System.Drawing.Size(177, 32); textBox1.TabIndex = 152; textBox1.TabStop = false; @@ -103,6 +104,7 @@ namespace RokettoLaunch pickerBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); pickerBox1.Location = new System.Drawing.Point(285, 62); pickerBox1.Name = "pickerBox1"; + pickerBox1.Padding = new Padding(4, 4, 3, 3); pickerBox1.SelectedIndex = 0; pickerBox1.Size = new System.Drawing.Size(84, 34); pickerBox1.TabIndex = 174; @@ -115,11 +117,12 @@ namespace RokettoLaunch dialogFooter1.Button1Text = "&Save"; dialogFooter1.Dialog = this; dialogFooter1.Dock = DockStyle.Bottom; + dialogFooter1.IsBusy = false; dialogFooter1.Location = new System.Drawing.Point(0, 437); dialogFooter1.Name = "dialogFooter1"; dialogFooter1.Size = new System.Drawing.Size(384, 84); // - // EditGroupForm + // EditSectionForm // BackColor = System.Drawing.Color.White; ClientSize = new System.Drawing.Size(384, 521); @@ -129,8 +132,8 @@ namespace RokettoLaunch Controls.Add(label1); Controls.Add(textBox1); MinimumSize = new System.Drawing.Size(400, 560); - Name = "EditGroupForm"; - Text = "Edit Group"; + Name = "EditSectionForm"; + Text = "Edit Section"; ResumeLayout(false); PerformLayout(); } diff --git a/EditGroupForm.resx b/EditSectionForm.resx similarity index 99% rename from EditGroupForm.resx rename to EditSectionForm.resx index af32865..8b2ff64 100644 --- a/EditGroupForm.resx +++ b/EditSectionForm.resx @@ -1,7 +1,7 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/OptionsForm.cs b/OptionsForm.cs index 226cd2a..40f1bcf 100644 --- a/OptionsForm.cs +++ b/OptionsForm.cs @@ -94,13 +94,11 @@ namespace RokettoLaunch // // yesNoPickerBox2 // - yesNoPickerBox2.AcceptButton = null; yesNoPickerBox2.Anchor = AnchorStyles.Top | AnchorStyles.Right; yesNoPickerBox2.BackColor = System.Drawing.Color.Transparent; yesNoPickerBox2.EnableReactiveVisual = true; yesNoPickerBox2.Font = new System.Drawing.Font("Segoe UI", 9F); yesNoPickerBox2.Location = new System.Drawing.Point(307, 63); - yesNoPickerBox2.Margin = new Padding(10, 10, 10, 0); yesNoPickerBox2.Name = "yesNoPickerBox2"; yesNoPickerBox2.Padding = new Padding(4, 4, 3, 3); yesNoPickerBox2.SelectedIndex = 1; @@ -125,13 +123,11 @@ namespace RokettoLaunch // // yesNoPickerBox3 // - yesNoPickerBox3.AcceptButton = null; yesNoPickerBox3.Anchor = AnchorStyles.Top | AnchorStyles.Right; yesNoPickerBox3.BackColor = System.Drawing.Color.Transparent; yesNoPickerBox3.EnableReactiveVisual = true; yesNoPickerBox3.Font = new System.Drawing.Font("Segoe UI", 9F); yesNoPickerBox3.Location = new System.Drawing.Point(307, 107); - yesNoPickerBox3.Margin = new Padding(10, 10, 10, 0); yesNoPickerBox3.Name = "yesNoPickerBox3"; yesNoPickerBox3.Padding = new Padding(4, 4, 3, 3); yesNoPickerBox3.SelectedIndex = 1; @@ -156,7 +152,6 @@ namespace RokettoLaunch // // textBox1 // - textBox1.AcceptButton = null; textBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; textBox1.BackColor = System.Drawing.Color.Transparent; textBox1.EnableReactiveVisual = true; @@ -169,7 +164,6 @@ namespace RokettoLaunch results1.Key = Keys.None; textBox1.KeyCodeResults = results1; textBox1.Location = new System.Drawing.Point(192, 21); - textBox1.Margin = new Padding(10, 10, 10, 0); textBox1.Name = "textBox1"; textBox1.Padding = new Padding(4, 4, 3, 3); textBox1.Size = new System.Drawing.Size(199, 32); @@ -179,13 +173,11 @@ namespace RokettoLaunch // // numericBox1 // - numericBox1.AcceptButton = null; numericBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right; numericBox1.BackColor = System.Drawing.Color.Transparent; numericBox1.EnableReactiveVisual = true; numericBox1.Font = new System.Drawing.Font("Segoe UI", 9F); numericBox1.Location = new System.Drawing.Point(252, 22); - numericBox1.Margin = new Padding(10, 10, 10, 0); numericBox1.Maximum = 100; numericBox1.Minimum = 1; numericBox1.Name = "numericBox1"; @@ -232,15 +224,14 @@ namespace RokettoLaunch tTogglePanel1.Controls.Add(label2); tTogglePanel1.Controls.Add(label4); tTogglePanel1.Controls.Add(numericBox1); - tTogglePanel1.ExpandedHeight = 100; + tTogglePanel1.ExpandedHeight = 119; tTogglePanel1.ForeColor = System.Drawing.Color.FromArgb(99, 105, 119); + tTogglePanel1.HeaderPadding = new Padding(4, 0, 0, 2); tTogglePanel1.IsOpen = true; tTogglePanel1.Location = new System.Drawing.Point(0, 0); tTogglePanel1.Margin = new Padding(0); tTogglePanel1.Name = "tTogglePanel1"; tTogglePanel1.Padding = new Padding(0, 22, 0, 0); - tTogglePanel1.PaddingBottom = 0; - tTogglePanel1.PaddingLeft = 4; tTogglePanel1.Size = new System.Drawing.Size(401, 119); tTogglePanel1.TabIndex = 0; tTogglePanel1.Title = "Appearance"; @@ -249,13 +240,11 @@ namespace RokettoLaunch // // yesNoPickerBox1 // - yesNoPickerBox1.AcceptButton = null; yesNoPickerBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right; yesNoPickerBox1.BackColor = System.Drawing.Color.Transparent; yesNoPickerBox1.EnableReactiveVisual = true; yesNoPickerBox1.Font = new System.Drawing.Font("Segoe UI", 9F); yesNoPickerBox1.Location = new System.Drawing.Point(307, 64); - yesNoPickerBox1.Margin = new Padding(10, 10, 10, 0); yesNoPickerBox1.Name = "yesNoPickerBox1"; yesNoPickerBox1.Padding = new Padding(4, 4, 3, 3); yesNoPickerBox1.SelectedIndex = 1; @@ -290,15 +279,14 @@ namespace RokettoLaunch tTogglePanel2.Controls.Add(yesNoPickerBox3); tTogglePanel2.Controls.Add(label6); tTogglePanel2.Controls.Add(label7); - tTogglePanel2.ExpandedHeight = 100; + tTogglePanel2.ExpandedHeight = 206; tTogglePanel2.ForeColor = System.Drawing.Color.FromArgb(99, 105, 119); + tTogglePanel2.HeaderPadding = new Padding(4, 0, 0, 2); tTogglePanel2.IsOpen = true; tTogglePanel2.Location = new System.Drawing.Point(0, 119); tTogglePanel2.Margin = new Padding(0); tTogglePanel2.Name = "tTogglePanel2"; tTogglePanel2.Padding = new Padding(0, 22, 0, 0); - tTogglePanel2.PaddingBottom = 0; - tTogglePanel2.PaddingLeft = 4; tTogglePanel2.Size = new System.Drawing.Size(401, 206); tTogglePanel2.TabIndex = 1; tTogglePanel2.Title = "Behaviour"; @@ -307,13 +295,11 @@ namespace RokettoLaunch // // yesNoPickerBox4 // - yesNoPickerBox4.AcceptButton = null; yesNoPickerBox4.Anchor = AnchorStyles.Top | AnchorStyles.Right; yesNoPickerBox4.BackColor = System.Drawing.Color.Transparent; yesNoPickerBox4.EnableReactiveVisual = true; yesNoPickerBox4.Font = new System.Drawing.Font("Segoe UI", 9F); yesNoPickerBox4.Location = new System.Drawing.Point(307, 151); - yesNoPickerBox4.Margin = new Padding(10, 10, 10, 0); yesNoPickerBox4.Name = "yesNoPickerBox4"; yesNoPickerBox4.Padding = new Padding(4, 4, 3, 3); yesNoPickerBox4.SelectedIndex = 1; @@ -342,6 +328,7 @@ namespace RokettoLaunch dialogFooter1.Button1Text = "&Save"; dialogFooter1.Dialog = this; dialogFooter1.Dock = DockStyle.Bottom; + dialogFooter1.IsBusy = false; dialogFooter1.Location = new System.Drawing.Point(0, 437); dialogFooter1.Name = "dialogFooter1"; dialogFooter1.Size = new System.Drawing.Size(444, 84); diff --git a/OptionsForm.resx b/OptionsForm.resx index af32865..8b2ff64 100644 --- a/OptionsForm.resx +++ b/OptionsForm.resx @@ -1,7 +1,7 @@