Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Qml Canvas in SplitView: on resizing the canvas the context disappear

$
0
0
I did it. Following Code solve my problem: Canvas{ ... onWidthChanged: { var ctx = getContext('2d'); ctx.reset(); [draw some stuff] } } Bux52

Viewing all articles
Browse latest Browse all 4972

Trending Articles