[FCE] - Display correct text length.

This commit is contained in:
Ivandro Ismael 2016-06-23 21:42:25 +00:00
parent ca06a94b8e
commit b614278872
No known key found for this signature in database
GPG Key ID: A8832757DEFB7EDC

View File

@ -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)
{