Move "Split line" up a bit and reset it

This commit is contained in:
OmrSi 2020-09-20 06:34:50 +03:00
parent 5c3b77d38e
commit 5afce738fa
2 changed files with 5 additions and 3 deletions

View File

@ -4386,7 +4386,7 @@
//
this.buttonSplitLine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonSplitLine.ForeColor = System.Drawing.Color.Red;
this.buttonSplitLine.Location = new System.Drawing.Point(604, 88);
this.buttonSplitLine.Location = new System.Drawing.Point(604, 80);
this.buttonSplitLine.Name = "buttonSplitLine";
this.buttonSplitLine.Size = new System.Drawing.Size(115, 23);
this.buttonSplitLine.TabIndex = 39;
@ -4809,7 +4809,7 @@
// buttonAutoBreak
//
this.buttonAutoBreak.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonAutoBreak.Location = new System.Drawing.Point(604, 59);
this.buttonAutoBreak.Location = new System.Drawing.Point(604, 51);
this.buttonAutoBreak.Name = "buttonAutoBreak";
this.buttonAutoBreak.Size = new System.Drawing.Size(115, 23);
this.buttonAutoBreak.TabIndex = 7;
@ -4850,7 +4850,7 @@
// buttonUnBreak
//
this.buttonUnBreak.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonUnBreak.Location = new System.Drawing.Point(604, 30);
this.buttonUnBreak.Location = new System.Drawing.Point(604, 22);
this.buttonUnBreak.Name = "buttonUnBreak";
this.buttonUnBreak.Size = new System.Drawing.Size(115, 23);
this.buttonUnBreak.TabIndex = 6;

View File

@ -4106,6 +4106,7 @@ namespace Nikse.SubtitleEdit.Forms
_fileDateTime = new DateTime();
_oldSubtitleFormat = null;
labelSingleLine.Text = string.Empty;
buttonSplitLine.Visible = false;
labelSingleLinePixels.Text = string.Empty;
RemoveAlternate(true, false);
_splitDualSami = false;
@ -8218,6 +8219,7 @@ namespace Nikse.SubtitleEdit.Forms
textBoxListViewText.Text = string.Empty;
textBoxListViewTextAlternate.Text = string.Empty;
textBoxListViewText.Enabled = false;
buttonSplitLine.Visible = false;
labelTextLineLengths.Text = string.Empty;
labelCharactersPerSecond.Text = string.Empty;
labelTextLineTotal.Text = string.Empty;