From b3907c918e636dc37d7da0c2fd2d772d49a385a5 Mon Sep 17 00:00:00 2001 From: Jaex Date: Fri, 14 Apr 2023 00:31:44 +0300 Subject: [PATCH] Increase custom uploader settings window width --- .../CustomUploaderSettingsForm.Designer.cs | 104 +++++----- .../Forms/CustomUploaderSettingsForm.resx | 195 ++++++++++-------- 2 files changed, 164 insertions(+), 135 deletions(-) diff --git a/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.Designer.cs b/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.Designer.cs index 4e71b8084..5be3e507c 100644 --- a/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.Designer.cs +++ b/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.Designer.cs @@ -61,11 +61,7 @@ private void InitializeComponent() this.btnFileUploaderTest = new System.Windows.Forms.Button(); this.lblImageUploader = new System.Windows.Forms.Label(); this.dgvHeaders = new System.Windows.Forms.DataGridView(); - this.cHeadersName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.cHeadersValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvParameters = new System.Windows.Forms.DataGridView(); - this.cParametersName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.cParametersValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.lblHeaders = new System.Windows.Forms.Label(); this.lblParameters = new System.Windows.Forms.Label(); this.pRequestURL = new System.Windows.Forms.Panel(); @@ -77,8 +73,6 @@ private void InitializeComponent() this.lblBody = new System.Windows.Forms.Label(); this.pBodyArguments = new System.Windows.Forms.Panel(); this.dgvArguments = new System.Windows.Forms.DataGridView(); - this.cArgumentsName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.cArgumentsValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.lblFileFormName = new System.Windows.Forms.Label(); this.txtFileFormName = new System.Windows.Forms.TextBox(); this.pBodyData = new System.Windows.Forms.Panel(); @@ -110,6 +104,12 @@ private void InitializeComponent() this.lblUploaders = new System.Windows.Forms.Label(); this.pMain = new System.Windows.Forms.Panel(); this.btnTestURLSyntax = new System.Windows.Forms.Button(); + this.cParametersName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cParametersValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cHeadersName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cHeadersValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cArgumentsName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.cArgumentsValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.cmsHelp.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvHeaders)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvParameters)).BeginInit(); @@ -326,19 +326,6 @@ private void InitializeComponent() this.dgvHeaders.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvHeaders_CellValueChanged); this.dgvHeaders.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgv_EditingControlShowing); // - // cHeadersName - // - resources.ApplyResources(this.cHeadersName, "cHeadersName"); - this.cHeadersName.Name = "cHeadersName"; - this.cHeadersName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // cHeadersValue - // - this.cHeadersValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - resources.ApplyResources(this.cHeadersValue, "cHeadersValue"); - this.cHeadersValue.Name = "cHeadersValue"; - this.cHeadersValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // // dgvParameters // this.dgvParameters.AllowUserToResizeRows = false; @@ -375,19 +362,6 @@ private void InitializeComponent() this.dgvParameters.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvParameters_CellValueChanged); this.dgvParameters.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgv_EditingControlShowing); // - // cParametersName - // - resources.ApplyResources(this.cParametersName, "cParametersName"); - this.cParametersName.Name = "cParametersName"; - this.cParametersName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // cParametersValue - // - this.cParametersValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - resources.ApplyResources(this.cParametersValue, "cParametersValue"); - this.cParametersValue.Name = "cParametersValue"; - this.cParametersValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // // lblHeaders // resources.ApplyResources(this.lblHeaders, "lblHeaders"); @@ -490,21 +464,6 @@ private void InitializeComponent() this.dgvArguments.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvArguments_CellValueChanged); this.dgvArguments.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgv_EditingControlShowing); // - // cArgumentsName - // - resources.ApplyResources(this.cArgumentsName, "cArgumentsName"); - this.cArgumentsName.Name = "cArgumentsName"; - this.cArgumentsName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // cArgumentsValue - // - this.cArgumentsValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.cArgumentsValue.DefaultCellStyle = dataGridViewCellStyle6; - resources.ApplyResources(this.cArgumentsValue, "cArgumentsValue"); - this.cArgumentsValue.Name = "cArgumentsValue"; - this.cArgumentsValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // // lblFileFormName // resources.ApplyResources(this.lblFileFormName, "lblFileFormName"); @@ -737,6 +696,47 @@ private void InitializeComponent() this.btnTestURLSyntax.UseVisualStyleBackColor = true; this.btnTestURLSyntax.Click += new System.EventHandler(this.btnTestURLSyntax_Click); // + // cParametersName + // + resources.ApplyResources(this.cParametersName, "cParametersName"); + this.cParametersName.Name = "cParametersName"; + this.cParametersName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // cParametersValue + // + this.cParametersValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + resources.ApplyResources(this.cParametersValue, "cParametersValue"); + this.cParametersValue.Name = "cParametersValue"; + this.cParametersValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // cHeadersName + // + resources.ApplyResources(this.cHeadersName, "cHeadersName"); + this.cHeadersName.Name = "cHeadersName"; + this.cHeadersName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // cHeadersValue + // + this.cHeadersValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + resources.ApplyResources(this.cHeadersValue, "cHeadersValue"); + this.cHeadersValue.Name = "cHeadersValue"; + this.cHeadersValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // cArgumentsName + // + resources.ApplyResources(this.cArgumentsName, "cArgumentsName"); + this.cArgumentsName.Name = "cArgumentsName"; + this.cArgumentsName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // cArgumentsValue + // + this.cArgumentsValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.cArgumentsValue.DefaultCellStyle = dataGridViewCellStyle6; + resources.ApplyResources(this.cArgumentsValue, "cArgumentsValue"); + this.cArgumentsValue.Name = "cArgumentsValue"; + this.cArgumentsValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // // CustomUploaderSettingsForm // this.AllowDrop = true; @@ -852,10 +852,6 @@ private void InitializeComponent() private System.Windows.Forms.DataGridView dgvParameters; private System.Windows.Forms.DataGridView dgvHeaders; private System.Windows.Forms.DataGridView dgvArguments; - private System.Windows.Forms.DataGridViewTextBoxColumn cHeadersName; - private System.Windows.Forms.DataGridViewTextBoxColumn cHeadersValue; - private System.Windows.Forms.DataGridViewTextBoxColumn cParametersName; - private System.Windows.Forms.DataGridViewTextBoxColumn cParametersValue; private System.Windows.Forms.ToolStripMenuItem tsmiUpdateFolder; private System.Windows.Forms.Panel pResultErrorMessage; private System.Windows.Forms.RichTextBox rtbResultErrorMessage; @@ -863,8 +859,12 @@ private void InitializeComponent() private System.Windows.Forms.Label lblUploaders; private System.Windows.Forms.ToolStripMenuItem tsmiClearUploaders; private System.Windows.Forms.Panel pMain; + private System.Windows.Forms.Button btnTestURLSyntax; + private System.Windows.Forms.DataGridViewTextBoxColumn cHeadersName; + private System.Windows.Forms.DataGridViewTextBoxColumn cHeadersValue; + private System.Windows.Forms.DataGridViewTextBoxColumn cParametersName; + private System.Windows.Forms.DataGridViewTextBoxColumn cParametersValue; private System.Windows.Forms.DataGridViewTextBoxColumn cArgumentsName; private System.Windows.Forms.DataGridViewTextBoxColumn cArgumentsValue; - private System.Windows.Forms.Button btnTestURLSyntax; } } \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.resx b/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.resx index cbe00dcd6..c4258b62c 100644 --- a/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.resx +++ b/ShareX.UploadersLib/Forms/CustomUploaderSettingsForm.resx @@ -122,7 +122,7 @@ 8, 440 - 176, 21 + 200, 21 @@ -145,10 +145,10 @@ NoControl - 192, 478 + 216, 478 - 64, 24 + 72, 24 12 @@ -202,7 +202,7 @@ 8, 480 - 176, 21 + 200, 21 11 @@ -223,10 +223,10 @@ NoControl - 192, 558 + 216, 558 - 64, 24 + 72, 24 18 @@ -280,7 +280,7 @@ NoControl - 200, 392 + 248, 392 119, 17 @@ -316,7 +316,7 @@ False - 184, 114 + 184, 92 cmsHelp @@ -328,14 +328,13 @@ 3, 0, 0, 0 - 56, 24 + 40, 24 6 ? - @Invariant MiddleLeft @@ -344,7 +343,7 @@ mbHelp - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.7.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=15.0.1.0, Culture=neutral, PublicKeyToken=null $this @@ -359,7 +358,7 @@ 8, 24 - 80, 24 + 88, 24 1 @@ -383,10 +382,10 @@ NoControl - 176, 24 + 200, 24 - 80, 24 + 88, 24 3 @@ -419,7 +418,7 @@ eiCustomUploaders - ShareX.HelpersLib.ExportImportControl, ShareX.HelpersLib, Version=13.7.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.ExportImportControl, ShareX.HelpersLib, Version=15.0.1.0, Culture=neutral, PublicKeyToken=null $this @@ -434,7 +433,7 @@ 8, 56 - 248, 328 + 280, 328 4 @@ -455,10 +454,10 @@ NoControl - 92, 24 + 104, 24 - 80, 24 + 88, 24 2 @@ -482,7 +481,7 @@ 8, 560 - 176, 21 + 200, 21 17 @@ -503,7 +502,7 @@ 8, 520 - 176, 21 + 200, 21 14 @@ -524,10 +523,10 @@ NoControl - 192, 438 + 216, 438 - 64, 24 + 72, 24 9 @@ -581,10 +580,10 @@ NoControl - 192, 518 + 216, 518 - 64, 24 + 72, 24 15 @@ -640,6 +639,9 @@ Name + + 130 + True @@ -650,7 +652,7 @@ 8, 296 - 232, 160 + 328, 160 11 @@ -673,6 +675,9 @@ Name + + 130 + True @@ -683,7 +688,7 @@ 8, 112 - 232, 160 + 328, 160 9 @@ -770,11 +775,14 @@ False - 402, 14 + 586, 14 0 + + + rtbRequestURL @@ -788,13 +796,13 @@ 0 - 80, 64 + 88, 64 2, 2, 2, 2 - 408, 20 + 592, 20 7 @@ -815,7 +823,7 @@ 8, 64 - 64, 21 + 72, 21 5 @@ -839,7 +847,7 @@ NoControl - 77, 48 + 85, 48 75, 13 @@ -863,10 +871,10 @@ 19 - 256, 112 + 352, 112 - 232, 21 + 328, 21 13 @@ -920,7 +928,7 @@ NoControl - 253, 96 + 349, 96 34, 13 @@ -949,6 +957,9 @@ Name + + 130 + True @@ -959,7 +970,7 @@ 0, 0 - 232, 264 + 328, 264 0 @@ -1010,7 +1021,7 @@ 0, 288 - 232, 20 + 328, 20 2 @@ -1028,10 +1039,10 @@ 2 - 256, 144 + 352, 144 - 232, 312 + 328, 312 14 @@ -1055,7 +1066,7 @@ 0, 288 - 112, 24 + 160, 24 1 @@ -1079,10 +1090,10 @@ NoControl - 120, 288 + 168, 288 - 112, 24 + 160, 24 2 @@ -1109,11 +1120,14 @@ 2, 2 - 226, 274 + 322, 274 0 + + + False @@ -1136,7 +1150,7 @@ 2, 2, 2, 2 - 232, 280 + 328, 280 0 @@ -1154,10 +1168,10 @@ 2 - 256, 144 + 352, 144 - 232, 312 + 328, 312 14 @@ -1187,11 +1201,14 @@ False - 474, 14 + 666, 14 0 + + + rtbResultErrorMessage @@ -1211,7 +1228,7 @@ 2, 2, 2, 2 - 480, 20 + 672, 20 22 @@ -1268,11 +1285,14 @@ False - 474, 14 + 666, 14 0 + + + rtbResultDeletionURL @@ -1292,7 +1312,7 @@ 2, 2, 2, 2 - 480, 20 + 672, 20 20 @@ -1352,11 +1372,14 @@ False - 474, 14 + 666, 14 0 + + + rtbResultThumbnailURL @@ -1376,7 +1399,7 @@ 2, 2, 2, 2 - 480, 20 + 672, 20 18 @@ -1406,11 +1429,14 @@ False - 402, 14 + 586, 14 0 + + + rtbResultURL @@ -1430,7 +1456,7 @@ 2, 2, 2, 2 - 408, 20 + 592, 20 16 @@ -1514,7 +1540,7 @@ NoControl - 253, 8 + 349, 8 86, 13 @@ -1571,7 +1597,7 @@ NoControl - 256, 24 + 352, 24 218, 17 @@ -1586,7 +1612,7 @@ System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 232, 23 + 328, 23 3 @@ -1604,7 +1630,7 @@ mbDestinationType - ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=13.7.2.0, Culture=neutral, PublicKeyToken=null + ShareX.HelpersLib.MenuButton, ShareX.HelpersLib, Version=15.0.1.0, Culture=neutral, PublicKeyToken=null pMain @@ -1616,7 +1642,7 @@ 8, 24 - 232, 20 + 328, 20 1 @@ -1667,7 +1693,7 @@ 8, 600 - 176, 21 + 200, 21 20 @@ -1688,10 +1714,10 @@ NoControl - 192, 598 + 216, 598 - 64, 24 + 72, 24 21 @@ -1739,10 +1765,10 @@ 3 - 424, 478 + 608, 478 - 64, 24 + 72, 24 23 @@ -1763,10 +1789,10 @@ 0 - 264, 0 + 296, 0 - 496, 632 + 688, 632 22 @@ -1793,10 +1819,13 @@ 96, 96 - 760, 628 + 984, 628 + + + NoControl - 776, 600 + 1000, 600 CenterScreen @@ -1828,17 +1857,11 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - cHeadersName + + ttHelpTip - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - cHeadersValue - - - System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 cParametersName @@ -1852,6 +1875,18 @@ System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + cHeadersName + + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + cHeadersValue + + + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + cArgumentsName @@ -1864,12 +1899,6 @@ System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ttHelpTip - - - System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - CustomUploaderSettingsForm