More TTS - fix eleven labs language/stability UI confilict

This commit is contained in:
Nikolaj Olsson 2024-10-26 20:30:57 +02:00
parent 44b0a188b7
commit a8c80f6238
2 changed files with 5 additions and 4 deletions

View File

@ -168,7 +168,7 @@
0,
0,
0});
this.nikseUpDownStability.Location = new System.Drawing.Point(102, 270);
this.nikseUpDownStability.Location = new System.Drawing.Point(102, 298);
this.nikseUpDownStability.Maximum = new decimal(new int[] {
100,
0,
@ -206,7 +206,7 @@
0,
0,
0});
this.nikseUpDownSimilarity.Location = new System.Drawing.Point(102, 299);
this.nikseUpDownSimilarity.Location = new System.Drawing.Point(251, 298);
this.nikseUpDownSimilarity.Maximum = new decimal(new int[] {
100,
0,
@ -232,7 +232,7 @@
// labelSimilarity
//
this.labelSimilarity.AutoSize = true;
this.labelSimilarity.Location = new System.Drawing.Point(14, 305);
this.labelSimilarity.Location = new System.Drawing.Point(198, 302);
this.labelSimilarity.Name = "labelSimilarity";
this.labelSimilarity.Size = new System.Drawing.Size(47, 13);
this.labelSimilarity.TabIndex = 99;
@ -241,7 +241,7 @@
// labelStability
//
this.labelStability.AutoSize = true;
this.labelStability.Location = new System.Drawing.Point(15, 274);
this.labelStability.Location = new System.Drawing.Point(15, 302);
this.labelStability.Name = "labelStability";
this.labelStability.Size = new System.Drawing.Size(43, 13);
this.labelStability.TabIndex = 97;

View File

@ -128,6 +128,7 @@ namespace Nikse.SubtitleEdit.Forms.Tts
linkLabelCustomAudio.Left = checkBoxAudioEncoding.Right;
labelStability.Text = LanguageSettings.Current.TextToSpeech.Stability;
labelSimilarity.Text = LanguageSettings.Current.TextToSpeech.Similarity;
nikseUpDownSimilarity.Left = labelSimilarity.Right + 3;
buttonOK.Text = LanguageSettings.Current.General.Ok;
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
UiUtil.FixLargeFonts(this, buttonOK);