View Full Version : Reg. ext.window and scroll bar issue

23 Jun 2010, 10:27 PM
Hi friends,

I'm using ext.window to show preview of the images. I'm setting width and height of the window according to the size of the image.
The problem is if the image is too big then no doubt the window also be bigger but I can't scroll in the browser to see the complete image. I have attached the screen-shot.

23 Jun 2010, 11:31 PM
Don't make your window bigger than Ext.getBody().getViewSize().

You can either scale the image down or make your window autoScroll:true.

24 Jun 2010, 3:11 AM
Hi Condor,

Thanks for your reply. I'm planning to set fixed width & height for the window and make the autoScroll to true. What I thought was making the size of the window equal to the image size gives a pleasing look.

Dnana | Trigent

24 Jun 2010, 3:54 AM
You can, as long as you don't make your window bigger than Ext.getBody().getViewSize().