aboutsummaryrefslogtreecommitdiff
path: root/src/components/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/text.py')
-rw-r--r--src/components/text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/text.py b/src/components/text.py
index c50c812..46fb001 100644
--- a/src/components/text.py
+++ b/src/components/text.py
@@ -53,7 +53,7 @@ class Component(Component):
'textColor': self.page.pushButton_textColor,
'strokeColor': self.page.pushButton_strokeColor,
}, relativeWidgets=[
- 'xPosition', 'yPosition', 'fontSize',
+ 'xPosition', 'yPosition', 'fontSize', 'stroke'
])
self.centerXY()
@@ -147,6 +147,7 @@ class Component(Component):
path = QtGui.QPainterPath()
path.addText(x, y, font, self.title)
path = outliner.createStroke(path)
+ image.setPen(QtCore.Qt.NoPen)
image.setBrush(PaintColor(*self.strokeColor))
image.drawPath(path)