mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Minor UI stuff
This commit is contained in:
parent
befb5f03ad
commit
fe37dfb265
@ -51,16 +51,16 @@
|
||||
this.labelPleaseWait.TabIndex = 28;
|
||||
this.labelPleaseWait.Text = "Please wait...";
|
||||
//
|
||||
// labelAVX2
|
||||
// labelWhisperChoice
|
||||
//
|
||||
this.labelWhisperChoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.labelWhisperChoice.AutoSize = true;
|
||||
this.labelWhisperChoice.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.labelWhisperChoice.Location = new System.Drawing.Point(274, 9);
|
||||
this.labelWhisperChoice.Name = "labelWhisperChoice";
|
||||
this.labelWhisperChoice.Size = new System.Drawing.Size(34, 13);
|
||||
this.labelWhisperChoice.Size = new System.Drawing.Size(28, 13);
|
||||
this.labelWhisperChoice.TabIndex = 30;
|
||||
this.labelWhisperChoice.Text = "AVX2";
|
||||
this.labelWhisperChoice.Text = "CPP";
|
||||
//
|
||||
// WhisperDownload
|
||||
//
|
||||
|
@ -60,14 +60,12 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
||||
labelDescription1.Text = LanguageSettings.Current.GetTesseractDictionaries.Download + " whisper.cpp";
|
||||
_cancellationTokenSource = new CancellationTokenSource();
|
||||
_whisperChoice = whisperChoice;
|
||||
labelWhisperChoice.Text = _whisperChoice;
|
||||
labelWhisperChoice.Left = Width - labelWhisperChoice.Width - 20;
|
||||
}
|
||||
|
||||
private void WhisperDownload_Shown(object sender, EventArgs e)
|
||||
{
|
||||
labelWhisperChoice.Visible = true;
|
||||
labelWhisperChoice.Text = _whisperChoice;
|
||||
labelWhisperChoice.Left = Width - labelWhisperChoice.Width - 20;
|
||||
|
||||
var downloadUrl = IntPtr.Size * 8 == 32 ? DownloadUrl32Cpp : DownloadUrl64Cpp;
|
||||
if (_whisperChoice == WhisperChoice.ConstMe)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user