mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
[FCE] - Display correct text length.
This commit is contained in:
parent
ca06a94b8e
commit
b614278872
@ -1180,13 +1180,11 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private void UpdateListViewTextInfo(string text)
|
||||
{
|
||||
labelTextLineTotal.Text = string.Empty;
|
||||
|
||||
labelTextLineLengths.Text = _languageGeneral.SingleLineLengths;
|
||||
labelSingleLine.Left = labelTextLineLengths.Left + labelTextLineLengths.Width - 6;
|
||||
UiUtil.GetLineLengths(labelSingleLine, text);
|
||||
|
||||
string s = HtmlUtil.RemoveHtmlTags(text).Replace(Environment.NewLine, " ");
|
||||
string s = HtmlUtil.RemoveHtmlTags(text, true).Replace(Environment.NewLine, " ");
|
||||
buttonSplitLine.Visible = false;
|
||||
if (s.Length < Configuration.Settings.General.SubtitleLineMaximumLength * 1.9)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user