1
0
Fork 0

Fix default text alignment in remote-canvas

This commit is contained in:
James Turner 2016-12-19 23:06:19 +00:00
parent 4c4fb1a6ac
commit 34ca0c15cc

View file

@ -91,6 +91,7 @@ void FGCanvasText::rebuildAlignment(QVariant var) const
{
QByteArray alignString = var.toByteArray();
if (alignString.isEmpty()) {
_alignment = Qt::AlignBaseline | Qt::AlignLeft;
return;
}