mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Minor burn-in ui fix
This commit is contained in:
parent
c85c3556d9
commit
1854a38ca3
1001
src/ui/Forms/GenerateVideoWithHardSubs.Designer.cs
generated
1001
src/ui/Forms/GenerateVideoWithHardSubs.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@ -140,6 +140,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
checkBoxRightToLeft.Checked = Configuration.Settings.Tools.GenVideoNonAssaAlignRight;
|
checkBoxRightToLeft.Checked = Configuration.Settings.Tools.GenVideoNonAssaAlignRight;
|
||||||
|
|
||||||
labelVideoBitrate.Text = string.Empty;
|
labelVideoBitrate.Text = string.Empty;
|
||||||
|
nikseLabelOutputFileFolder.Text = string.Empty;
|
||||||
|
|
||||||
if (_videoInfo != null)
|
if (_videoInfo != null)
|
||||||
{
|
{
|
||||||
@ -2028,6 +2029,10 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
private void buttonMode_Click(object sender, EventArgs e)
|
private void buttonMode_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
BatchMode = !BatchMode;
|
BatchMode = !BatchMode;
|
||||||
|
|
||||||
|
ShowLabelOutput();
|
||||||
|
|
||||||
|
nikseLabelOutputFileFolder.Visible = BatchMode;
|
||||||
listViewBatch.Visible = BatchMode;
|
listViewBatch.Visible = BatchMode;
|
||||||
listViewBatch.AutoSizeLastColumn();
|
listViewBatch.AutoSizeLastColumn();
|
||||||
videoPlayerContainer1.Visible = !BatchMode;
|
videoPlayerContainer1.Visible = !BatchMode;
|
||||||
@ -2065,6 +2070,14 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
labelProgress.Text = string.Empty;
|
labelProgress.Text = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ShowLabelOutput()
|
||||||
|
{
|
||||||
|
nikseLabelOutputFileFolder.Left = buttonOutputFileSettings.Right + 3;
|
||||||
|
nikseLabelOutputFileFolder.Text = Configuration.Settings.Tools.GenVideoUseOutputFolder
|
||||||
|
? Configuration.Settings.Tools.GenVideoOutputFolder
|
||||||
|
: LanguageSettings.Current.BatchConvert.SaveInSourceFolder;
|
||||||
|
}
|
||||||
|
|
||||||
private void addFilesToolStripMenuItem_Click(object sender, EventArgs e)
|
private void addFilesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
using (var openFileDialog1 = new OpenFileDialog())
|
using (var openFileDialog1 = new OpenFileDialog())
|
||||||
@ -2310,6 +2323,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
using (var form = new GenerateVideoWithHardSubsOutFile())
|
using (var form = new GenerateVideoWithHardSubsOutFile())
|
||||||
{
|
{
|
||||||
form.ShowDialog(this);
|
form.ShowDialog(this);
|
||||||
|
|
||||||
|
ShowLabelOutput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2329,5 +2344,10 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
useSourceResolutionToolStripMenuItem.Visible = BatchMode;
|
useSourceResolutionToolStripMenuItem.Visible = BatchMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void nikseLabelOutputFileFolder_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
labelSuffix.Text = LanguageSettings.Current.Settings.Suffix;
|
labelSuffix.Text = LanguageSettings.Current.Settings.Suffix;
|
||||||
buttonOK.Text = LanguageSettings.Current.General.Ok;
|
buttonOK.Text = LanguageSettings.Current.General.Ok;
|
||||||
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
|
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
|
||||||
|
radioButtonSaveInSourceFolder.Text = LanguageSettings.Current.BatchConvert.SaveInSourceFolder;
|
||||||
|
radioButtonSaveInOutputFolder.Text = LanguageSettings.Current.BatchConvert.SaveInOutputFolder;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(Configuration.Settings.Tools.GenVideoOutputFolder) || !Directory.Exists(Configuration.Settings.Tools.GenVideoOutputFolder))
|
if (string.IsNullOrEmpty(Configuration.Settings.Tools.GenVideoOutputFolder) || !Directory.Exists(Configuration.Settings.Tools.GenVideoOutputFolder))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user