PDA

View Full Version : Ext.Img in Ext.window.Window is too small (ExtJs 4.1)



filosssof
6 Sep 2012, 1:10 AM
I defined an object window within object image, but src from image I want to change dynamically. The image has size i.e. 300px x 300px. But when I created window it had minimal size (less than 20px x 20px) and the image also became so small. I want that the window has the same dimensions with the original image.

P.S. Sorry for my English, it is not my native laguage

mitchellsimoens
17 Sep 2012, 6:58 AM
Are you giving the window size or a layout?