diff --git a/src/chatlog/content/text.cpp b/src/chatlog/content/text.cpp index d8e73ac06..f53b20d83 100644 --- a/src/chatlog/content/text.cpp +++ b/src/chatlog/content/text.cpp @@ -223,7 +223,7 @@ void Text::ensureIntegrity() doc->documentLayout()->update(); if(doc->firstBlock().layout()->lineCount() > 0) - vOffset = doc->firstBlock().layout()->lineAt(0).height(); + vOffset = doc->firstBlock().layout()->lineAt(0).ascent(); if(size != idealSize()) {