+\r
+// Expand the spell-check frame when dialog resized. (#6829)\r
+CKEDITOR.dialog.on( 'resize', function( evt )\r
+{\r
+ var data = evt.data,\r
+ dialog = data.dialog;\r
+\r
+ if ( dialog._.name == 'checkspell' )\r
+ {\r
+ var content = dialog.getContentElement( 'general', 'content' ).getElement(),\r
+ iframe = content && content.getChild( 2 );\r
+\r
+ iframe && iframe.setSize( 'height', data.height );\r
+ iframe && iframe.setSize( 'width', data.width );\r
+ }\r
+});\r