forked from qt-creator/qt-creator
QmlDesigner: Disable clipping for text drawing
Task-number: QTCREATORBUG-11680 Change-Id: I5709e9c777f453c4ba4822f5f7b84332094e136a Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
@@ -266,6 +266,7 @@ static void paintTextInPlaceHolderForInvisbleItem(QPainter *painter,
|
||||
|
||||
painter->setFont(font);
|
||||
painter->setPen(QColor(48, 48, 96, 255));
|
||||
painter->setClipping(false);
|
||||
painter->drawText(rotatedBoundingBox, displayText, textOption);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user