Ticket #6970: 6970_2.patch
File 6970_2.patch, 4.7 KB (added by , 13 years ago) |
---|
-
_source/plugins/find/dialogs/find.js
604 604 title : lang.title, 605 605 resizable : CKEDITOR.DIALOG_RESIZE_NONE, 606 606 minWidth : 350, 607 minHeight : 1 65,607 minHeight : 170, 608 608 buttons : [ CKEDITOR.dialog.cancelButton ], // Cancel button only. 609 609 contents : [ 610 610 { -
_source/plugins/image/dialogs/image.js
262 262 previewImageId = numbering( 'previewImage' ); 263 263 264 264 return { 265 title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton,265 title : editor.lang.image[ dialogType == 'image' ? 'title' : 'titleButton' ], 266 266 minWidth : 420, 267 minHeight : CKEDITOR.env.ie && CKEDITOR.env.quirks? 360: 310,267 minHeight : 360, 268 268 onShow : function() 269 269 { 270 270 this.imageElement = false; -
_source/skins/kama/skin.js
216 216 width : width + 'px', 217 217 height : height + 'px' 218 218 }); 219 220 // Fix the size of the elements which have flexible lengths.221 setTimeout( function()222 {223 var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),224 body = innerDialog.getChild( 0 );225 226 // tc227 var el = innerDialog.getChild( 2 );228 el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );229 230 // bc231 el = innerDialog.getChild( 7 );232 el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );233 234 // ml235 el = innerDialog.getChild( 4 );236 el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );237 238 // mr239 el = innerDialog.getChild( 5 );240 el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );241 },242 100 );243 219 }); 244 220 } 245 221 })(); -
_source/skins/office2003/skin.js
43 43 var fixSize = function() 44 44 { 45 45 var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ), 46 body = innerDialog.getChild( 0 ); 46 body = innerDialog.getChild( 0 ), 47 bodyWidth = body.getSize( 'width' ); 48 height += body.getChild( 0 ).getSize( 'height' ) + 1; 47 49 48 50 // tc 49 51 var el = innerDialog.getChild( 2 ); 50 el.setS tyle( 'width', ( body.$.offsetWidth ) + 'px');52 el.setSize( 'width', bodyWidth ); 51 53 52 54 // bc 53 55 el = innerDialog.getChild( 7 ); 54 el.setS tyle( 'width', ( body.$.offsetWidth - 28 ) + 'px');56 el.setSize( 'width', bodyWidth - 28 ); 55 57 56 58 // ml 57 59 el = innerDialog.getChild( 4 ); 58 el.setS tyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px');60 el.setSize( 'height', height ); 59 61 60 62 // mr 61 63 el = innerDialog.getChild( 5 ); 62 el.setS tyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px');64 el.setSize( 'height', height ); 63 65 }; 64 66 setTimeout( fixSize, 100 ); 65 67 -
_source/skins/v2/skin.js
43 43 setTimeout( function() 44 44 { 45 45 var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ), 46 body = innerDialog.getChild( 0 ); 46 body = innerDialog.getChild( 0 ), 47 bodyWidth = body.getSize( 'width' ); 48 height += body.getChild( 0 ).getSize( 'height' ) + 1; 47 49 48 50 // tc 49 51 var el = innerDialog.getChild( 2 ); 50 el.setS tyle( 'width', ( body.$.offsetWidth ) + 'px');52 el.setSize( 'width', bodyWidth ); 51 53 52 54 // bc 53 55 el = innerDialog.getChild( 7 ); 54 el.setS tyle( 'width', ( body.$.offsetWidth - 28 ) + 'px');56 el.setSize( 'width', bodyWidth - 28 ); 55 57 56 58 // ml 57 59 el = innerDialog.getChild( 4 ); 58 el.setS tyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px');60 el.setSize( 'height', height ); 59 61 60 62 // mr 61 63 el = innerDialog.getChild( 5 ); 62 el.setS tyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px');64 el.setSize( 'height', height ); 63 65 }, 64 66 100 ); 65 67 });