diff --git a/legacy/project/src/common/TextField.cpp b/legacy/project/src/common/TextField.cpp index decfeb7e0..5e6e9f242 100644 --- a/legacy/project/src/common/TextField.cpp +++ b/legacy/project/src/common/TextField.cpp @@ -1990,7 +1990,9 @@ void TextField::Layout(const Matrix &inMatrix) line.mCharGroup0 = mCharGroups.size()-1; line.mCharInGroup0 = last->mString.size(); } - charY += line.mMetrics.height; + if ((endsWidthNewLine && multiline) || mLines.empty()){ + charY += line.mMetrics.height; + } mLines.push_back(line); }