fixed issue with selecting text and word wrapping
This commit is contained in:
@@ -203,8 +203,8 @@ void TextElement::addToContainer(MessageLayoutContainer &container, MessageEleme
|
|||||||
width += charWidth;
|
width += charWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
container.addElement(getTextLayoutElement(text.mid(wordStart), word.width - lastWidth,
|
container.addElement(
|
||||||
this->hasTrailingSpace()));
|
getTextLayoutElement(text.mid(wordStart), width, this->hasTrailingSpace()));
|
||||||
container.breakLine();
|
container.breakLine();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user