[Interest] QGraphicsView stays big

Till Oliver Knoll till.oliver.knoll at gmail.com
Fri Jun 8 08:32:29 CEST 2012


[proper recipient]

Am 07.06.2012 um 15:22 schrieb "Waitman Gobble" <uzimac at da3m0n8t3r.com>:

> ...
> Per recommendation I've just tried this:
> 
> gs->clear();
> gs->setSceneRect(QRectF());
> gs->addPixmap(pm);

Ah, wait a minute... I actually meant setting the "null" QRectF /after/ adding all your item(s) - does that make any difference?

Cheers,
 Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120608/9feddfda/attachment.html>


More information about the Interest mailing list