From 34ca0c15cc293ef6c2b11a79f039c6e713fdc3d4 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 19 Dec 2016 23:06:19 +0000 Subject: [PATCH] Fix default text alignment in remote-canvas --- utils/fgqcanvas/fgcanvastext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/fgqcanvas/fgcanvastext.cpp b/utils/fgqcanvas/fgcanvastext.cpp index 1c321e1c0..74566ec85 100644 --- a/utils/fgqcanvas/fgcanvastext.cpp +++ b/utils/fgqcanvas/fgcanvastext.cpp @@ -91,6 +91,7 @@ void FGCanvasText::rebuildAlignment(QVariant var) const { QByteArray alignString = var.toByteArray(); if (alignString.isEmpty()) { + _alignment = Qt::AlignBaseline | Qt::AlignLeft; return; }