Fix text alignment glitch - thx Leon :)

Fix #6862
This commit is contained in:
niksedk 2023-04-22 17:20:21 +02:00
parent 230ce833f4
commit 0ae1080d0f

View File

@ -296,6 +296,11 @@ namespace Nikse.SubtitleEdit.Forms
numericUpDownDuration.Left = timeUpDownStartTime.Right + 15; numericUpDownDuration.Left = timeUpDownStartTime.Right + 15;
numericUpDownDuration.Width += 5; numericUpDownDuration.Width += 5;
} }
labelSingleLine.Left = textBoxListViewText.Left;
labelTextLineLengths.Left = textBoxListViewText.Left;
labelSingleLinePixels.Left = textBoxListViewText.Left;
labelDuration.Left = numericUpDownDuration.Left; labelDuration.Left = numericUpDownDuration.Left;
var xDiff = timeUpDownStartTime.Top - (labelStartTime.Top + labelStartTime.Height); var xDiff = timeUpDownStartTime.Top - (labelStartTime.Top + labelStartTime.Height);