PDA

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



After2050
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.

Condor
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.

After2050
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

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