Regardless of what height argument I use, my window keeps a steady height of about 250px. The console.log statement outputs 600 when I pass 600 to show, e.g. getIFrameWindow().show({height: 600}), so I know my height argument is being passed and received correctly, but my window doesn’t render with it’s correct height.
getIframeWindow : function () { return { show :function(args) { args=args||{}; win = new Ext.Window({ width :args.width||200, height :args.height||200, items :[{ border : false, xtype : 'iframepanel', defaultSrc : args.src||'_blank.htm' }] }); console.log(win.height); win.show(); },
try this :
args.width and args.height will become numbers