Commit 4d96d381 authored by Tomas Mecir's avatar Tomas Mecir

fix word wrapping

parent 880808f5
......@@ -65,6 +65,8 @@ public:
}
void updateSize () {
QRectF rect = scene()->sceneRect();
setTextWidth (rect.width());
prepareGeometryChange();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment