PDA

View Full Version : Zooming



td
26th November 2008, 11:54
Hi all,

I'm just taking a look at the Image Viewer example. I'm currently modifying it and have a good understanding of it all. One problem though, I wish to modify it so that when you zoom the image, it stays contained within a boundary. I tried using

"scrollArea->setFixedSize(200,200);"

but it doesn't work. Any ideas?

td
26th November 2008, 14:43
Ah kicking myself, have it figured out now!