Fix default text alignment in remote-canvas
This commit is contained in:
parent
4c4fb1a6ac
commit
34ca0c15cc
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ void FGCanvasText::rebuildAlignment(QVariant var) const
|
|||
{
|
||||
QByteArray alignString = var.toByteArray();
|
||||
if (alignString.isEmpty()) {
|
||||
_alignment = Qt::AlignBaseline | Qt::AlignLeft;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue