Make Whisper UI a bit more consistent - thx oep42 :)

Fix #8713
This commit is contained in:
Nikolaj Olsson 2024-08-08 17:40:14 +02:00
parent 25d000c37e
commit 9d7032889d
3 changed files with 51 additions and 56 deletions

View File

@ -80,7 +80,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonCancel.Location = new System.Drawing.Point(631, 464); this.buttonCancel.Location = new System.Drawing.Point(631, 487);
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(95, 23); this.buttonCancel.Size = new System.Drawing.Size(95, 23);
this.buttonCancel.TabIndex = 94; this.buttonCancel.TabIndex = 94;
@ -92,7 +92,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.buttonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonGenerate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonGenerate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonGenerate.Location = new System.Drawing.Point(382, 464); this.buttonGenerate.Location = new System.Drawing.Point(382, 487);
this.buttonGenerate.Name = "buttonGenerate"; this.buttonGenerate.Name = "buttonGenerate";
this.buttonGenerate.Size = new System.Drawing.Size(125, 23); this.buttonGenerate.Size = new System.Drawing.Size(125, 23);
this.buttonGenerate.TabIndex = 90; this.buttonGenerate.TabIndex = 90;
@ -104,7 +104,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(12, 464); this.progressBar1.Location = new System.Drawing.Point(12, 487);
this.progressBar1.Name = "progressBar1"; this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(364, 12); this.progressBar1.Size = new System.Drawing.Size(364, 12);
this.progressBar1.TabIndex = 7; this.progressBar1.TabIndex = 7;
@ -114,7 +114,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.labelProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelProgress.AutoSize = true; this.labelProgress.AutoSize = true;
this.labelProgress.Location = new System.Drawing.Point(12, 446); this.labelProgress.Location = new System.Drawing.Point(12, 469);
this.labelProgress.Name = "labelProgress"; this.labelProgress.Name = "labelProgress";
this.labelProgress.Size = new System.Drawing.Size(70, 13); this.labelProgress.Size = new System.Drawing.Size(70, 13);
this.labelProgress.TabIndex = 6; this.labelProgress.TabIndex = 6;
@ -139,9 +139,9 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.groupBoxModels.Controls.Add(this.linkLabelOpenModelsFolder); this.groupBoxModels.Controls.Add(this.linkLabelOpenModelsFolder);
this.groupBoxModels.Controls.Add(this.labelModel); this.groupBoxModels.Controls.Add(this.labelModel);
this.groupBoxModels.Controls.Add(this.comboBoxModels); this.groupBoxModels.Controls.Add(this.comboBoxModels);
this.groupBoxModels.Location = new System.Drawing.Point(15, 59); this.groupBoxModels.Location = new System.Drawing.Point(15, 60);
this.groupBoxModels.Name = "groupBoxModels"; this.groupBoxModels.Name = "groupBoxModels";
this.groupBoxModels.Size = new System.Drawing.Size(711, 83); this.groupBoxModels.Size = new System.Drawing.Size(711, 82);
this.groupBoxModels.TabIndex = 10; this.groupBoxModels.TabIndex = 10;
this.groupBoxModels.TabStop = false; this.groupBoxModels.TabStop = false;
this.groupBoxModels.Text = "Language and models"; this.groupBoxModels.Text = "Language and models";
@ -149,7 +149,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// labelChooseLanguage // labelChooseLanguage
// //
this.labelChooseLanguage.AutoSize = true; this.labelChooseLanguage.AutoSize = true;
this.labelChooseLanguage.Location = new System.Drawing.Point(3, 27); this.labelChooseLanguage.Location = new System.Drawing.Point(3, 21);
this.labelChooseLanguage.Name = "labelChooseLanguage"; this.labelChooseLanguage.Name = "labelChooseLanguage";
this.labelChooseLanguage.Size = new System.Drawing.Size(90, 13); this.labelChooseLanguage.Size = new System.Drawing.Size(90, 13);
this.labelChooseLanguage.TabIndex = 4; this.labelChooseLanguage.TabIndex = 4;
@ -174,7 +174,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.comboBoxLanguages.SelectedIndex = -1; this.comboBoxLanguages.SelectedIndex = -1;
this.comboBoxLanguages.SelectedItem = null; this.comboBoxLanguages.SelectedItem = null;
this.comboBoxLanguages.SelectedText = ""; this.comboBoxLanguages.SelectedText = "";
this.comboBoxLanguages.Size = new System.Drawing.Size(240, 24); this.comboBoxLanguages.Size = new System.Drawing.Size(194, 24);
this.comboBoxLanguages.TabIndex = 0; this.comboBoxLanguages.TabIndex = 0;
this.comboBoxLanguages.UsePopupWindow = false; this.comboBoxLanguages.UsePopupWindow = false;
this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged); this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged);
@ -182,7 +182,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// buttonDownload // buttonDownload
// //
this.buttonDownload.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonDownload.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonDownload.Location = new System.Drawing.Point(526, 44); this.buttonDownload.Location = new System.Drawing.Point(503, 40);
this.buttonDownload.Name = "buttonDownload"; this.buttonDownload.Name = "buttonDownload";
this.buttonDownload.Size = new System.Drawing.Size(28, 23); this.buttonDownload.Size = new System.Drawing.Size(28, 23);
this.buttonDownload.TabIndex = 2; this.buttonDownload.TabIndex = 2;
@ -193,7 +193,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// linkLabelOpenModelsFolder // linkLabelOpenModelsFolder
// //
this.linkLabelOpenModelsFolder.AutoSize = true; this.linkLabelOpenModelsFolder.AutoSize = true;
this.linkLabelOpenModelsFolder.Location = new System.Drawing.Point(562, 50); this.linkLabelOpenModelsFolder.Location = new System.Drawing.Point(539, 48);
this.linkLabelOpenModelsFolder.Name = "linkLabelOpenModelsFolder"; this.linkLabelOpenModelsFolder.Name = "linkLabelOpenModelsFolder";
this.linkLabelOpenModelsFolder.Size = new System.Drawing.Size(98, 13); this.linkLabelOpenModelsFolder.Size = new System.Drawing.Size(98, 13);
this.linkLabelOpenModelsFolder.TabIndex = 3; this.linkLabelOpenModelsFolder.TabIndex = 3;
@ -204,7 +204,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// labelModel // labelModel
// //
this.labelModel.AutoSize = true; this.labelModel.AutoSize = true;
this.labelModel.Location = new System.Drawing.Point(277, 27); this.labelModel.Location = new System.Drawing.Point(254, 21);
this.labelModel.Name = "labelModel"; this.labelModel.Name = "labelModel";
this.labelModel.Size = new System.Drawing.Size(167, 13); this.labelModel.Size = new System.Drawing.Size(167, 13);
this.labelModel.TabIndex = 0; this.labelModel.TabIndex = 0;
@ -223,13 +223,13 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxModels.DropDownWidth = 240; this.comboBoxModels.DropDownWidth = 240;
this.comboBoxModels.FormattingEnabled = true; this.comboBoxModels.FormattingEnabled = true;
this.comboBoxModels.Location = new System.Drawing.Point(280, 44); this.comboBoxModels.Location = new System.Drawing.Point(257, 41);
this.comboBoxModels.MaxLength = 32767; this.comboBoxModels.MaxLength = 32767;
this.comboBoxModels.Name = "comboBoxModels"; this.comboBoxModels.Name = "comboBoxModels";
this.comboBoxModels.SelectedIndex = -1; this.comboBoxModels.SelectedIndex = -1;
this.comboBoxModels.SelectedItem = null; this.comboBoxModels.SelectedItem = null;
this.comboBoxModels.SelectedText = ""; this.comboBoxModels.SelectedText = "";
this.comboBoxModels.Size = new System.Drawing.Size(240, 23); this.comboBoxModels.Size = new System.Drawing.Size(240, 24);
this.comboBoxModels.TabIndex = 1; this.comboBoxModels.TabIndex = 1;
this.comboBoxModels.UsePopupWindow = false; this.comboBoxModels.UsePopupWindow = false;
// //
@ -248,7 +248,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.labelTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelTime.AutoSize = true; this.labelTime.AutoSize = true;
this.labelTime.Location = new System.Drawing.Point(12, 479); this.labelTime.Location = new System.Drawing.Point(12, 502);
this.labelTime.Name = "labelTime"; this.labelTime.Name = "labelTime";
this.labelTime.Size = new System.Drawing.Size(88, 13); this.labelTime.Size = new System.Drawing.Size(88, 13);
this.labelTime.TabIndex = 6; this.labelTime.TabIndex = 6;
@ -272,7 +272,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.buttonBatchMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonBatchMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonBatchMode.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonBatchMode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonBatchMode.Location = new System.Drawing.Point(513, 464); this.buttonBatchMode.Location = new System.Drawing.Point(513, 487);
this.buttonBatchMode.Name = "buttonBatchMode"; this.buttonBatchMode.Name = "buttonBatchMode";
this.buttonBatchMode.Size = new System.Drawing.Size(112, 23); this.buttonBatchMode.Size = new System.Drawing.Size(112, 23);
this.buttonBatchMode.TabIndex = 92; this.buttonBatchMode.TabIndex = 92;
@ -289,9 +289,9 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.groupBoxInputFiles.Controls.Add(this.buttonRemoveFile); this.groupBoxInputFiles.Controls.Add(this.buttonRemoveFile);
this.groupBoxInputFiles.Controls.Add(this.buttonAddFile); this.groupBoxInputFiles.Controls.Add(this.buttonAddFile);
this.groupBoxInputFiles.Controls.Add(this.listViewInputFiles); this.groupBoxInputFiles.Controls.Add(this.listViewInputFiles);
this.groupBoxInputFiles.Location = new System.Drawing.Point(15, 246); this.groupBoxInputFiles.Location = new System.Drawing.Point(15, 274);
this.groupBoxInputFiles.Name = "groupBoxInputFiles"; this.groupBoxInputFiles.Name = "groupBoxInputFiles";
this.groupBoxInputFiles.Size = new System.Drawing.Size(711, 176); this.groupBoxInputFiles.Size = new System.Drawing.Size(711, 171);
this.groupBoxInputFiles.TabIndex = 30; this.groupBoxInputFiles.TabIndex = 30;
this.groupBoxInputFiles.TabStop = false; this.groupBoxInputFiles.TabStop = false;
this.groupBoxInputFiles.Text = "Input files"; this.groupBoxInputFiles.Text = "Input files";
@ -341,7 +341,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.listViewInputFiles.HideSelection = false; this.listViewInputFiles.HideSelection = false;
this.listViewInputFiles.Location = new System.Drawing.Point(6, 18); this.listViewInputFiles.Location = new System.Drawing.Point(6, 18);
this.listViewInputFiles.Name = "listViewInputFiles"; this.listViewInputFiles.Name = "listViewInputFiles";
this.listViewInputFiles.Size = new System.Drawing.Size(620, 141); this.listViewInputFiles.Size = new System.Drawing.Size(620, 136);
this.listViewInputFiles.TabIndex = 0; this.listViewInputFiles.TabIndex = 0;
this.listViewInputFiles.UseCompatibleStateImageBehavior = false; this.listViewInputFiles.UseCompatibleStateImageBehavior = false;
this.listViewInputFiles.View = System.Windows.Forms.View.Details; this.listViewInputFiles.View = System.Windows.Forms.View.Details;
@ -358,7 +358,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.labelFC.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.labelFC.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.labelFC.ForeColor = System.Drawing.Color.Gray; this.labelFC.ForeColor = System.Drawing.Color.Gray;
this.labelFC.Location = new System.Drawing.Point(256, 479); this.labelFC.Location = new System.Drawing.Point(256, 502);
this.labelFC.Name = "labelFC"; this.labelFC.Name = "labelFC";
this.labelFC.Size = new System.Drawing.Size(120, 17); this.labelFC.Size = new System.Drawing.Size(120, 17);
this.labelFC.TabIndex = 19; this.labelFC.TabIndex = 19;
@ -378,7 +378,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// labelElapsed // labelElapsed
// //
this.labelElapsed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelElapsed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelElapsed.Location = new System.Drawing.Point(215, 445); this.labelElapsed.Location = new System.Drawing.Point(215, 468);
this.labelElapsed.Name = "labelElapsed"; this.labelElapsed.Name = "labelElapsed";
this.labelElapsed.Size = new System.Drawing.Size(152, 13); this.labelElapsed.Size = new System.Drawing.Size(152, 13);
this.labelElapsed.TabIndex = 22; this.labelElapsed.TabIndex = 22;
@ -468,8 +468,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
// buttonAdvanced // buttonAdvanced
// //
this.buttonAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonAdvanced.Location = new System.Drawing.Point(12, 231);
this.buttonAdvanced.Location = new System.Drawing.Point(570, 147);
this.buttonAdvanced.Name = "buttonAdvanced"; this.buttonAdvanced.Name = "buttonAdvanced";
this.buttonAdvanced.Size = new System.Drawing.Size(156, 23); this.buttonAdvanced.Size = new System.Drawing.Size(156, 23);
this.buttonAdvanced.TabIndex = 28; this.buttonAdvanced.TabIndex = 28;
@ -479,9 +478,8 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
// labelAdvanced // labelAdvanced
// //
this.labelAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelAdvanced.AutoSize = true; this.labelAdvanced.AutoSize = true;
this.labelAdvanced.Location = new System.Drawing.Point(570, 177); this.labelAdvanced.Location = new System.Drawing.Point(174, 238);
this.labelAdvanced.Name = "labelAdvanced"; this.labelAdvanced.Name = "labelAdvanced";
this.labelAdvanced.Size = new System.Drawing.Size(65, 13); this.labelAdvanced.Size = new System.Drawing.Size(65, 13);
this.labelAdvanced.TabIndex = 29; this.labelAdvanced.TabIndex = 29;
@ -534,14 +532,14 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.textBoxLog.Name = "textBoxLog"; this.textBoxLog.Name = "textBoxLog";
this.textBoxLog.ReadOnly = true; this.textBoxLog.ReadOnly = true;
this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBoxLog.Size = new System.Drawing.Size(197, 72); this.textBoxLog.Size = new System.Drawing.Size(197, 95);
this.textBoxLog.TabIndex = 0; this.textBoxLog.TabIndex = 0;
// //
// WhisperAudioToText // WhisperAudioToText
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(738, 501); this.ClientSize = new System.Drawing.Size(738, 524);
this.Controls.Add(this.linkLabelPostProcessingConfigure); this.Controls.Add(this.linkLabelPostProcessingConfigure);
this.Controls.Add(this.labelTime); this.Controls.Add(this.labelTime);
this.Controls.Add(this.labelAdvanced); this.Controls.Add(this.labelAdvanced);

View File

@ -1706,7 +1706,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
if (_batchMode) if (_batchMode)
{ {
groupBoxInputFiles.Enabled = true; groupBoxInputFiles.Enabled = true;
Height = checkBoxUsePostProcessing.Bottom + progressBar1.Height + buttonCancel.Height + 450; Height = checkBoxUsePostProcessing.Bottom + progressBar1.Height + buttonCancel.Height + 470;
listViewInputFiles.Visible = true; listViewInputFiles.Visible = true;
buttonBatchMode.Text = LanguageSettings.Current.Split.Basic; buttonBatchMode.Text = LanguageSettings.Current.Split.Basic;
MinimumSize = new Size(MinimumSize.Width, Height - 75); MinimumSize = new Size(MinimumSize.Width, Height - 75);
@ -1717,7 +1717,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
else else
{ {
groupBoxInputFiles.Enabled = false; groupBoxInputFiles.Enabled = false;
var h = checkBoxUsePostProcessing.Bottom + progressBar1.Height + buttonCancel.Height + 70; var h = checkBoxUsePostProcessing.Bottom + progressBar1.Height + buttonCancel.Height + 110;
MinimumSize = new Size(MinimumSize.Width, h - 10); MinimumSize = new Size(MinimumSize.Width, h - 10);
Height = h; Height = h;
Width = _initialWidth; Width = _initialWidth;
@ -2450,12 +2450,11 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
private void SetAdvancedLabel() private void SetAdvancedLabel()
{ {
labelAdvanced.Left = buttonAdvanced.Left;
labelAdvanced.Text = Configuration.Settings.Tools.WhisperExtraSettings; labelAdvanced.Text = Configuration.Settings.Tools.WhisperExtraSettings;
if (labelAdvanced.Right > buttonAdvanced.Right + 5) if (labelAdvanced.Right > Width && labelProgress.Font.Size == labelAdvanced.Font.Size)
{ {
labelAdvanced.Left = buttonAdvanced.Right + 5 - labelAdvanced.Width; labelAdvanced.Font = new Font(labelAdvanced.Font.FontFamily, labelAdvanced.Font.Size - 1);
} }
} }

View File

@ -69,7 +69,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonCancel.Location = new System.Drawing.Point(622, 427); this.buttonCancel.Location = new System.Drawing.Point(622, 457);
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 6; this.buttonCancel.TabIndex = 6;
@ -81,7 +81,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.buttonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonGenerate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonGenerate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonGenerate.Location = new System.Drawing.Point(491, 427); this.buttonGenerate.Location = new System.Drawing.Point(491, 457);
this.buttonGenerate.Name = "buttonGenerate"; this.buttonGenerate.Name = "buttonGenerate";
this.buttonGenerate.Size = new System.Drawing.Size(125, 23); this.buttonGenerate.Size = new System.Drawing.Size(125, 23);
this.buttonGenerate.TabIndex = 5; this.buttonGenerate.TabIndex = 5;
@ -93,7 +93,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(12, 427); this.progressBar1.Location = new System.Drawing.Point(12, 457);
this.progressBar1.Name = "progressBar1"; this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(473, 12); this.progressBar1.Size = new System.Drawing.Size(473, 12);
this.progressBar1.TabIndex = 4; this.progressBar1.TabIndex = 4;
@ -103,7 +103,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.labelProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelProgress.AutoSize = true; this.labelProgress.AutoSize = true;
this.labelProgress.Location = new System.Drawing.Point(12, 409); this.labelProgress.Location = new System.Drawing.Point(12, 439);
this.labelProgress.Name = "labelProgress"; this.labelProgress.Name = "labelProgress";
this.labelProgress.Size = new System.Drawing.Size(70, 13); this.labelProgress.Size = new System.Drawing.Size(70, 13);
this.labelProgress.TabIndex = 4; this.labelProgress.TabIndex = 4;
@ -120,7 +120,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.textBoxLog.Name = "textBoxLog"; this.textBoxLog.Name = "textBoxLog";
this.textBoxLog.ReadOnly = true; this.textBoxLog.ReadOnly = true;
this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBoxLog.Size = new System.Drawing.Size(77, 258); this.textBoxLog.Size = new System.Drawing.Size(77, 288);
this.textBoxLog.TabIndex = 0; this.textBoxLog.TabIndex = 0;
// //
// labelInfo // labelInfo
@ -152,7 +152,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// labelChooseLanguage // labelChooseLanguage
// //
this.labelChooseLanguage.AutoSize = true; this.labelChooseLanguage.AutoSize = true;
this.labelChooseLanguage.Location = new System.Drawing.Point(3, 36); this.labelChooseLanguage.Location = new System.Drawing.Point(3, 21);
this.labelChooseLanguage.Name = "labelChooseLanguage"; this.labelChooseLanguage.Name = "labelChooseLanguage";
this.labelChooseLanguage.Size = new System.Drawing.Size(90, 13); this.labelChooseLanguage.Size = new System.Drawing.Size(90, 13);
this.labelChooseLanguage.TabIndex = 6; this.labelChooseLanguage.TabIndex = 6;
@ -171,13 +171,13 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.comboBoxLanguages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxLanguages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxLanguages.DropDownWidth = 194; this.comboBoxLanguages.DropDownWidth = 194;
this.comboBoxLanguages.FormattingEnabled = true; this.comboBoxLanguages.FormattingEnabled = true;
this.comboBoxLanguages.Location = new System.Drawing.Point(6, 53); this.comboBoxLanguages.Location = new System.Drawing.Point(6, 41);
this.comboBoxLanguages.MaxLength = 32767; this.comboBoxLanguages.MaxLength = 32767;
this.comboBoxLanguages.Name = "comboBoxLanguages"; this.comboBoxLanguages.Name = "comboBoxLanguages";
this.comboBoxLanguages.SelectedIndex = -1; this.comboBoxLanguages.SelectedIndex = -1;
this.comboBoxLanguages.SelectedItem = null; this.comboBoxLanguages.SelectedItem = null;
this.comboBoxLanguages.SelectedText = ""; this.comboBoxLanguages.SelectedText = "";
this.comboBoxLanguages.Size = new System.Drawing.Size(194, 23); this.comboBoxLanguages.Size = new System.Drawing.Size(194, 24);
this.comboBoxLanguages.TabIndex = 7; this.comboBoxLanguages.TabIndex = 7;
this.comboBoxLanguages.UsePopupWindow = false; this.comboBoxLanguages.UsePopupWindow = false;
this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged); this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged);
@ -185,7 +185,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// buttonDownload // buttonDownload
// //
this.buttonDownload.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonDownload.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonDownload.Location = new System.Drawing.Point(503, 51); this.buttonDownload.Location = new System.Drawing.Point(503, 40);
this.buttonDownload.Name = "buttonDownload"; this.buttonDownload.Name = "buttonDownload";
this.buttonDownload.Size = new System.Drawing.Size(28, 23); this.buttonDownload.Size = new System.Drawing.Size(28, 23);
this.buttonDownload.TabIndex = 1; this.buttonDownload.TabIndex = 1;
@ -196,7 +196,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// linkLabelOpenModelsFolder // linkLabelOpenModelsFolder
// //
this.linkLabelOpenModelsFolder.AutoSize = true; this.linkLabelOpenModelsFolder.AutoSize = true;
this.linkLabelOpenModelsFolder.Location = new System.Drawing.Point(539, 59); this.linkLabelOpenModelsFolder.Location = new System.Drawing.Point(539, 48);
this.linkLabelOpenModelsFolder.Name = "linkLabelOpenModelsFolder"; this.linkLabelOpenModelsFolder.Name = "linkLabelOpenModelsFolder";
this.linkLabelOpenModelsFolder.Size = new System.Drawing.Size(98, 13); this.linkLabelOpenModelsFolder.Size = new System.Drawing.Size(98, 13);
this.linkLabelOpenModelsFolder.TabIndex = 2; this.linkLabelOpenModelsFolder.TabIndex = 2;
@ -207,7 +207,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// labelModel // labelModel
// //
this.labelModel.AutoSize = true; this.labelModel.AutoSize = true;
this.labelModel.Location = new System.Drawing.Point(254, 36); this.labelModel.Location = new System.Drawing.Point(254, 21);
this.labelModel.Name = "labelModel"; this.labelModel.Name = "labelModel";
this.labelModel.Size = new System.Drawing.Size(167, 13); this.labelModel.Size = new System.Drawing.Size(167, 13);
this.labelModel.TabIndex = 0; this.labelModel.TabIndex = 0;
@ -226,13 +226,13 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxModels.DropDownWidth = 240; this.comboBoxModels.DropDownWidth = 240;
this.comboBoxModels.FormattingEnabled = true; this.comboBoxModels.FormattingEnabled = true;
this.comboBoxModels.Location = new System.Drawing.Point(257, 53); this.comboBoxModels.Location = new System.Drawing.Point(257, 41);
this.comboBoxModels.MaxLength = 32767; this.comboBoxModels.MaxLength = 32767;
this.comboBoxModels.Name = "comboBoxModels"; this.comboBoxModels.Name = "comboBoxModels";
this.comboBoxModels.SelectedIndex = -1; this.comboBoxModels.SelectedIndex = -1;
this.comboBoxModels.SelectedItem = null; this.comboBoxModels.SelectedItem = null;
this.comboBoxModels.SelectedText = ""; this.comboBoxModels.SelectedText = "";
this.comboBoxModels.Size = new System.Drawing.Size(240, 23); this.comboBoxModels.Size = new System.Drawing.Size(240, 24);
this.comboBoxModels.TabIndex = 0; this.comboBoxModels.TabIndex = 0;
this.comboBoxModels.UsePopupWindow = false; this.comboBoxModels.UsePopupWindow = false;
// //
@ -251,7 +251,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.labelTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelTime.AutoSize = true; this.labelTime.AutoSize = true;
this.labelTime.Location = new System.Drawing.Point(12, 442); this.labelTime.Location = new System.Drawing.Point(12, 472);
this.labelTime.Name = "labelTime"; this.labelTime.Name = "labelTime";
this.labelTime.Size = new System.Drawing.Size(88, 13); this.labelTime.Size = new System.Drawing.Size(88, 13);
this.labelTime.TabIndex = 6; this.labelTime.TabIndex = 6;
@ -278,9 +278,9 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxInputFiles.Controls.Add(this.listViewInputFiles); this.groupBoxInputFiles.Controls.Add(this.listViewInputFiles);
this.groupBoxInputFiles.Location = new System.Drawing.Point(15, 200); this.groupBoxInputFiles.Location = new System.Drawing.Point(15, 236);
this.groupBoxInputFiles.Name = "groupBoxInputFiles"; this.groupBoxInputFiles.Name = "groupBoxInputFiles";
this.groupBoxInputFiles.Size = new System.Drawing.Size(682, 185); this.groupBoxInputFiles.Size = new System.Drawing.Size(682, 188);
this.groupBoxInputFiles.TabIndex = 3; this.groupBoxInputFiles.TabIndex = 3;
this.groupBoxInputFiles.TabStop = false; this.groupBoxInputFiles.TabStop = false;
this.groupBoxInputFiles.Text = "Input files"; this.groupBoxInputFiles.Text = "Input files";
@ -297,7 +297,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.listViewInputFiles.HideSelection = false; this.listViewInputFiles.HideSelection = false;
this.listViewInputFiles.Location = new System.Drawing.Point(6, 18); this.listViewInputFiles.Location = new System.Drawing.Point(6, 18);
this.listViewInputFiles.Name = "listViewInputFiles"; this.listViewInputFiles.Name = "listViewInputFiles";
this.listViewInputFiles.Size = new System.Drawing.Size(670, 150); this.listViewInputFiles.Size = new System.Drawing.Size(670, 153);
this.listViewInputFiles.TabIndex = 0; this.listViewInputFiles.TabIndex = 0;
this.listViewInputFiles.UseCompatibleStateImageBehavior = false; this.listViewInputFiles.UseCompatibleStateImageBehavior = false;
this.listViewInputFiles.View = System.Windows.Forms.View.Details; this.listViewInputFiles.View = System.Windows.Forms.View.Details;
@ -352,7 +352,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.labelEngine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelEngine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelEngine.AutoSize = true; this.labelEngine.AutoSize = true;
this.labelEngine.Location = new System.Drawing.Point(478, 11); this.labelEngine.Location = new System.Drawing.Point(451, 12);
this.labelEngine.Name = "labelEngine"; this.labelEngine.Name = "labelEngine";
this.labelEngine.Size = new System.Drawing.Size(40, 13); this.labelEngine.Size = new System.Drawing.Size(40, 13);
this.labelEngine.TabIndex = 29; this.labelEngine.TabIndex = 29;
@ -372,22 +372,21 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
this.comboBoxWhisperEngine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxWhisperEngine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxWhisperEngine.DropDownWidth = 0; this.comboBoxWhisperEngine.DropDownWidth = 0;
this.comboBoxWhisperEngine.FormattingEnabled = false; this.comboBoxWhisperEngine.FormattingEnabled = false;
this.comboBoxWhisperEngine.Location = new System.Drawing.Point(524, 6); this.comboBoxWhisperEngine.Location = new System.Drawing.Point(497, 6);
this.comboBoxWhisperEngine.MaxLength = 32767; this.comboBoxWhisperEngine.MaxLength = 32767;
this.comboBoxWhisperEngine.Name = "comboBoxWhisperEngine"; this.comboBoxWhisperEngine.Name = "comboBoxWhisperEngine";
this.comboBoxWhisperEngine.SelectedIndex = -1; this.comboBoxWhisperEngine.SelectedIndex = -1;
this.comboBoxWhisperEngine.SelectedItem = null; this.comboBoxWhisperEngine.SelectedItem = null;
this.comboBoxWhisperEngine.SelectedText = ""; this.comboBoxWhisperEngine.SelectedText = "";
this.comboBoxWhisperEngine.Size = new System.Drawing.Size(173, 23); this.comboBoxWhisperEngine.Size = new System.Drawing.Size(200, 23);
this.comboBoxWhisperEngine.TabIndex = 28; this.comboBoxWhisperEngine.TabIndex = 28;
this.comboBoxWhisperEngine.UsePopupWindow = false; this.comboBoxWhisperEngine.UsePopupWindow = false;
this.comboBoxWhisperEngine.SelectedIndexChanged += new System.EventHandler(this.comboBoxWhisperEngine_SelectedIndexChanged); this.comboBoxWhisperEngine.SelectedIndexChanged += new System.EventHandler(this.comboBoxWhisperEngine_SelectedIndexChanged);
// //
// labelAdvanced // labelAdvanced
// //
this.labelAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelAdvanced.AutoSize = true; this.labelAdvanced.AutoSize = true;
this.labelAdvanced.Location = new System.Drawing.Point(535, 178); this.labelAdvanced.Location = new System.Drawing.Point(177, 205);
this.labelAdvanced.Name = "labelAdvanced"; this.labelAdvanced.Name = "labelAdvanced";
this.labelAdvanced.Size = new System.Drawing.Size(65, 13); this.labelAdvanced.Size = new System.Drawing.Size(65, 13);
this.labelAdvanced.TabIndex = 31; this.labelAdvanced.TabIndex = 31;
@ -395,8 +394,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
// buttonAdvanced // buttonAdvanced
// //
this.buttonAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonAdvanced.Location = new System.Drawing.Point(15, 198);
this.buttonAdvanced.Location = new System.Drawing.Point(535, 148);
this.buttonAdvanced.Name = "buttonAdvanced"; this.buttonAdvanced.Name = "buttonAdvanced";
this.buttonAdvanced.Size = new System.Drawing.Size(156, 23); this.buttonAdvanced.Size = new System.Drawing.Size(156, 23);
this.buttonAdvanced.TabIndex = 30; this.buttonAdvanced.TabIndex = 30;
@ -419,7 +417,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(709, 464); this.ClientSize = new System.Drawing.Size(709, 494);
this.Controls.Add(this.linkLabelPostProcessingConfigure); this.Controls.Add(this.linkLabelPostProcessingConfigure);
this.Controls.Add(this.labelAdvanced); this.Controls.Add(this.labelAdvanced);
this.Controls.Add(this.buttonAdvanced); this.Controls.Add(this.buttonAdvanced);