/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
var content = dialog.getContentElement( 'general', 'content' ).getElement(),\r
iframe = content && content.getChild( 2 );\r
\r
- iframe && iframe.setStyle( 'height', data.height + 'px' );\r
+ iframe && iframe.setSize( 'height', data.height );\r
+ iframe && iframe.setSize( 'width', data.width );\r
}\r
});\r