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:
@@ -298,8 +298,8 @@ void TextBase::setAlignment(AlignmentType alignment)
|
||||
if (_alignment==alignment) return;
|
||||
|
||||
_alignment = alignment;
|
||||
computePositions();
|
||||
// computeGlyphRepresentation();
|
||||
//computePositions();
|
||||
computeGlyphRepresentation();
|
||||
}
|
||||
|
||||
void TextBase::setAxisAlignment(AxisAlignment axis)
|
||||
|
||||
Reference in New Issue
Block a user