Solved How to update a custom QQuickPaintedItem's visible area?
-
I create a custom
QQuickPaintedItem
then use it in QML withwidth = 100
,height = 100
. when I scale the item up, the part exceed{100, 100}
is not visible. How can I update the visible area of a customQQuickPaintedItem
? -
@tracyma said in How to update a custom QQuickPaintedItem's visible area?:
QQuickPaintedItem
Does the
update()
method not work?
http://doc.qt.io/qt-5/qquickpainteditem.html#update -
works, thank you! @Diracsbracket
-
@tracyma
Great! Please also don't forget to mark this thread as "Solved" so that the good souls on this forum can focus on the remaining problems! Cheers.