Changed TextBase::setAlignment() to use computeGlyphRepresentation(); rather than computePositions(); to address issues seen with calling Text::setAlignment() after calls to Text::setText()

This commit is contained in:
Robert Osfield
2018-04-06 14:07:58 +01:00
parent d1c54223cb
commit 36f891c6cd

View File

@@ -298,8 +298,8 @@ void TextBase::setAlignment(AlignmentType alignment)
if (_alignment==alignment) return;
_alignment = alignment;
computePositions();
// computeGlyphRepresentation();
//computePositions();
computeGlyphRepresentation();
}
void TextBase::setAxisAlignment(AxisAlignment axis)