mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Fix a few UI details + remove unused using
This commit is contained in:
parent
39cbd986ba
commit
72b5a2f134
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
|
@ -389,6 +389,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
labelMinDuration.Text = language.DurationMinimumMilliseconds;
|
||||
labelMaxDuration.Text = language.DurationMaximumMilliseconds;
|
||||
labelMinGapMs.Text = language.MinimumGapMilliseconds;
|
||||
buttonGapChoose.Left = numericUpDownMinGapMs.Left + numericUpDownMinGapMs.Width + 5;
|
||||
labelMaxLines.Text = language.MaximumLines;
|
||||
if (labelSubMaxLen.Left + labelSubMaxLen.Width > numericUpDownSubtitleLineMaximumLength.Left)
|
||||
{
|
||||
|
@ -37,6 +37,16 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
buttonOK.Text = Configuration.Settings.Language.General.Ok;
|
||||
buttonCancel.Text = Configuration.Settings.Language.General.Cancel;
|
||||
UiUtil.FixLargeFonts(this, buttonOK);
|
||||
|
||||
// resize window with if texts are too long
|
||||
if (checkBoxUncheckInsertsAllCaps.Left + checkBoxUncheckInsertsAllCaps.Width > Width)
|
||||
{
|
||||
Width = checkBoxUncheckInsertsAllCaps.Left + checkBoxUncheckInsertsAllCaps.Width + 10;
|
||||
}
|
||||
if (checkBoxHideContinuationCandidatesWithoutName.Left + checkBoxHideContinuationCandidatesWithoutName.Width > Width)
|
||||
{
|
||||
Width = checkBoxHideContinuationCandidatesWithoutName.Left + checkBoxHideContinuationCandidatesWithoutName.Width + 10;
|
||||
}
|
||||
}
|
||||
|
||||
private void buttonOK_Click(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user