mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 10:42:35 +01:00
Minor UI fix for batch-convert maximize
This commit is contained in:
parent
034e9bfb6f
commit
0a6ff52fbf
71
src/ui/Forms/BatchConvert.Designer.cs
generated
71
src/ui/Forms/BatchConvert.Designer.cs
generated
@ -36,6 +36,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.buttonCancel = new System.Windows.Forms.Button();
|
||||
this.groupBoxConvertOptions = new System.Windows.Forms.GroupBox();
|
||||
this.groupBoxAutoTranslate = new System.Windows.Forms.GroupBox();
|
||||
this.nikseLabelModel = new Nikse.SubtitleEdit.Controls.NikseLabel();
|
||||
this.nikseComboBoxTranslateModel = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.labelTarget = new Nikse.SubtitleEdit.Controls.NikseLabel();
|
||||
this.comboBoxTarget = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.labelSource = new Nikse.SubtitleEdit.Controls.NikseLabel();
|
||||
@ -200,8 +202,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.labelStatus = new Nikse.SubtitleEdit.Controls.NikseLabel();
|
||||
this.labelError = new Nikse.SubtitleEdit.Controls.NikseLabel();
|
||||
this.nikseComboBoxTranslateModel = new Nikse.SubtitleEdit.Controls.NikseComboBox();
|
||||
this.nikseLabelModel = new Nikse.SubtitleEdit.Controls.NikseLabel();
|
||||
this.groupBoxConvertOptions.SuspendLayout();
|
||||
this.groupBoxAutoTranslate.SuspendLayout();
|
||||
this.contextMenuStripOptions.SuspendLayout();
|
||||
@ -302,6 +302,39 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.groupBoxAutoTranslate.Text = "Translate";
|
||||
this.groupBoxAutoTranslate.Visible = false;
|
||||
//
|
||||
// nikseLabelModel
|
||||
//
|
||||
this.nikseLabelModel.AutoSize = true;
|
||||
this.nikseLabelModel.Location = new System.Drawing.Point(11, 153);
|
||||
this.nikseLabelModel.Name = "nikseLabelModel";
|
||||
this.nikseLabelModel.Size = new System.Drawing.Size(39, 13);
|
||||
this.nikseLabelModel.TabIndex = 117;
|
||||
this.nikseLabelModel.Text = "Model:";
|
||||
//
|
||||
// nikseComboBoxTranslateModel
|
||||
//
|
||||
this.nikseComboBoxTranslateModel.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.nikseComboBoxTranslateModel.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.nikseComboBoxTranslateModel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179)))));
|
||||
this.nikseComboBoxTranslateModel.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.nikseComboBoxTranslateModel.ButtonForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.nikseComboBoxTranslateModel.ButtonForeColorDown = System.Drawing.Color.Orange;
|
||||
this.nikseComboBoxTranslateModel.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
||||
this.nikseComboBoxTranslateModel.DropDownHeight = 400;
|
||||
this.nikseComboBoxTranslateModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown;
|
||||
this.nikseComboBoxTranslateModel.DropDownWidth = 221;
|
||||
this.nikseComboBoxTranslateModel.FormattingEnabled = true;
|
||||
this.nikseComboBoxTranslateModel.Location = new System.Drawing.Point(11, 169);
|
||||
this.nikseComboBoxTranslateModel.MaxLength = 32767;
|
||||
this.nikseComboBoxTranslateModel.Name = "nikseComboBoxTranslateModel";
|
||||
this.nikseComboBoxTranslateModel.SelectedIndex = -1;
|
||||
this.nikseComboBoxTranslateModel.SelectedItem = null;
|
||||
this.nikseComboBoxTranslateModel.SelectedText = "";
|
||||
this.nikseComboBoxTranslateModel.Size = new System.Drawing.Size(221, 21);
|
||||
this.nikseComboBoxTranslateModel.TabIndex = 116;
|
||||
this.nikseComboBoxTranslateModel.TabStop = false;
|
||||
this.nikseComboBoxTranslateModel.UsePopupWindow = false;
|
||||
//
|
||||
// labelTarget
|
||||
//
|
||||
this.labelTarget.AutoSize = true;
|
||||
@ -2580,39 +2613,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.labelError.TabIndex = 10;
|
||||
this.labelError.Text = "labelError";
|
||||
//
|
||||
// nikseComboBoxTranslateModel
|
||||
//
|
||||
this.nikseComboBoxTranslateModel.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.nikseComboBoxTranslateModel.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.nikseComboBoxTranslateModel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179)))));
|
||||
this.nikseComboBoxTranslateModel.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
|
||||
this.nikseComboBoxTranslateModel.ButtonForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.nikseComboBoxTranslateModel.ButtonForeColorDown = System.Drawing.Color.Orange;
|
||||
this.nikseComboBoxTranslateModel.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
|
||||
this.nikseComboBoxTranslateModel.DropDownHeight = 400;
|
||||
this.nikseComboBoxTranslateModel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown;
|
||||
this.nikseComboBoxTranslateModel.DropDownWidth = 221;
|
||||
this.nikseComboBoxTranslateModel.FormattingEnabled = true;
|
||||
this.nikseComboBoxTranslateModel.Location = new System.Drawing.Point(11, 169);
|
||||
this.nikseComboBoxTranslateModel.MaxLength = 32767;
|
||||
this.nikseComboBoxTranslateModel.Name = "nikseComboBoxTranslateModel";
|
||||
this.nikseComboBoxTranslateModel.SelectedIndex = -1;
|
||||
this.nikseComboBoxTranslateModel.SelectedItem = null;
|
||||
this.nikseComboBoxTranslateModel.SelectedText = "";
|
||||
this.nikseComboBoxTranslateModel.Size = new System.Drawing.Size(221, 21);
|
||||
this.nikseComboBoxTranslateModel.TabIndex = 116;
|
||||
this.nikseComboBoxTranslateModel.TabStop = false;
|
||||
this.nikseComboBoxTranslateModel.UsePopupWindow = false;
|
||||
//
|
||||
// nikseLabelModel
|
||||
//
|
||||
this.nikseLabelModel.AutoSize = true;
|
||||
this.nikseLabelModel.Location = new System.Drawing.Point(11, 153);
|
||||
this.nikseLabelModel.Name = "nikseLabelModel";
|
||||
this.nikseLabelModel.Size = new System.Drawing.Size(39, 13);
|
||||
this.nikseLabelModel.TabIndex = 117;
|
||||
this.nikseLabelModel.Text = "Model:";
|
||||
//
|
||||
// BatchConvert
|
||||
//
|
||||
this.AllowDrop = true;
|
||||
@ -2634,6 +2634,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BatchConvert_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.BatchConvert_Shown);
|
||||
this.ResizeEnd += new System.EventHandler(this.BatchConvert_ResizeEnd);
|
||||
this.SizeChanged += new System.EventHandler(this.BatchConvert_SizeChanged);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.BatchConvert_KeyDown);
|
||||
this.groupBoxConvertOptions.ResumeLayout(false);
|
||||
this.groupBoxAutoTranslate.ResumeLayout(false);
|
||||
|
@ -4301,5 +4301,11 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
return _autoTranslatorEngines.First(p => p.Name == nikseComboBoxEngine.Text);
|
||||
}
|
||||
|
||||
private void BatchConvert_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
listViewInputFiles.AutoSizeLastColumn();
|
||||
listViewConvertOptions.AutoSizeLastColumn();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user