Ticket #5587: 5587_7.patch
File 5587_7.patch, 11.9 KB (added by , 15 years ago) |
---|
-
_source/plugins/dialog/plugin.js
903 903 children : contents.elements, 904 904 expand : !!contents.expand, 905 905 padding : contents.padding, 906 style : contents.style || 'width: 100%; height: 100%;'906 style : contents.style || 'width: 100%;' 907 907 }, pageHtml ); 908 908 909 909 // Create the HTML for the tab and the content block. -
_source/skins/office2003/dialog.css
637 637 { 638 638 border : 2px ridge black; 639 639 overflow : scroll; 640 height : 160px;640 height : 210px; 641 641 width : 230px; 642 642 padding : 2px; 643 643 background-color : white; … … 783 783 { 784 784 float: right; 785 785 } 786 787 /** 788 * Styles specific to "cellProperties" dialog. 789 */ 790 791 .cke_skin_office2003 .cke_dialog_contents a.colorChooser 792 { 793 display:block; 794 margin-top:12px; 795 margin-left: 10px; 796 width: 40px; 797 } 798 799 .cke_skin_office2003 .cke_dialog_contents a.colorChooser .cke_dialog_ui_button 800 { 801 width:100%; 802 } 803 804 .cke_skin_office2003 .cke_rtl .cke_dialog_contents a.colorChooser 805 { 806 margin-right: 10px; 807 } -
_source/plugins/tabletools/dialogs/tableCell.js
8 8 var langTable = editor.lang.table, 9 9 langCell = langTable.cell, 10 10 langCommon = editor.lang.common, 11 rtlUI = editor.lang.dir == 'rtl', 11 12 validate = CKEDITOR.dialog.validate, 12 13 widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/, 13 14 heightPattern = /^(\d+(?:\.\d+)?)px$/, 14 15 bind = CKEDITOR.tools.bind, 15 16 spacer = { type : 'html', html : ' ' }; 16 17 18 // Load skin at first. 19 CKEDITOR.skins.load( editor, 'cellProperties' ); 20 17 21 /** 18 22 * 19 23 * @param dialogName … … 71 75 72 76 return { 73 77 title : langCell.title, 74 minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 550 : 480,75 minHeight : CKEDITOR.env.ie ? ( CKEDITOR.env.quirks ? 180 : 150 ) : 140,78 minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks? 450 : 400, 79 minHeight : CKEDITOR.env.ie && CKEDITOR.env.quirks? 220 : 200, 76 80 contents : [ 77 81 { 78 82 id : 'info', … … 98 102 { 99 103 type : 'text', 100 104 id : 'width', 105 width: '100px', 101 106 label : langTable.width, 102 widths : [ '71%', '29%' ],103 labelLayout : 'horizontal',104 107 validate : validate[ 'number' ]( langCell.invalidWidth ), 105 108 106 109 // Extra labelling of width unit type. … … 139 142 { 140 143 type : 'select', 141 144 id : 'widthType', 142 labelLayout : 'horizontal',143 widths : [ '0%', '100%' ],144 145 label : editor.lang.table.widthUnit, 145 labelStyle: ' display:none',146 labelStyle: 'visibility:hidden', 146 147 'default' : 'px', 147 148 items : 148 149 [ … … 166 167 { 167 168 type : 'text', 168 169 id : 'height', 170 width: '100px', 169 171 label : langTable.height, 170 172 'default' : '', 171 widths : [ '71%', '29%' ],172 labelLayout : 'horizontal',173 173 validate : validate[ 'number' ]( langCell.invalidHeight ), 174 174 175 175 // Extra labelling of height unit type. … … 206 206 { 207 207 id : 'htmlHeightType', 208 208 type : 'html', 209 html : langTable.widthPx209 html : '<br />'+ langTable.widthPx 210 210 } 211 211 ] 212 212 }, … … 214 214 { 215 215 type : 'select', 216 216 id : 'wordWrap', 217 labelLayout : 'horizontal',218 217 label : langCell.wordWrap, 219 widths : [ '50%', '50%' ],220 218 'default' : 'yes', 221 219 items : 222 220 [ … … 245 243 { 246 244 type : 'select', 247 245 id : 'hAlign', 248 labelLayout : 'horizontal',246 249 247 label : langCell.hAlign, 250 widths : [ '50%', '50%' ],251 248 'default' : '', 252 249 items : 253 250 [ … … 278 275 { 279 276 type : 'select', 280 277 id : 'vAlign', 281 labelLayout : 'horizontal',278 282 279 label : langCell.vAlign, 283 widths : [ '50%', '50%' ],284 280 'default' : '', 285 281 items : 286 282 [ … … 333 329 type : 'select', 334 330 id : 'cellType', 335 331 label : langCell.cellType, 336 labelLayout : 'horizontal', 337 widths : [ '50%', '50%' ], 332 338 333 'default' : 'td', 339 334 items : 340 335 [ … … 355 350 type : 'text', 356 351 id : 'rowSpan', 357 352 label : langCell.rowSpan, 358 labelLayout : 'horizontal', 359 widths : [ '50%', '50%' ], 353 360 354 'default' : '', 361 355 validate : validate.integer( langCell.invalidRowSpan ), 362 356 setup : function( selectedCell ) … … 378 372 type : 'text', 379 373 id : 'colSpan', 380 374 label : langCell.colSpan, 381 labelLayout : 'horizontal', 382 widths : [ '50%', '50%' ], 375 383 376 'default' : '', 384 377 validate : validate.integer( langCell.invalidColSpan ), 385 378 setup : function( element ) … … 401 394 { 402 395 type : 'hbox', 403 396 padding : 0, 404 widths : [ ' 80%', '20%' ],397 widths : [ '60%', '40%' ], 405 398 children : 406 399 [ 407 400 { 408 401 type : 'text', 409 402 id : 'bgColor', 410 403 label : langCell.bgColor, 411 labelLayout : 'horizontal',412 widths : [ '70%', '30%' ],413 404 'default' : '', 414 405 setup : function( element ) 415 406 { … … 433 424 { 434 425 type : 'button', 435 426 id : 'bgColorChoose', 427 "class" : 'colorChooser', 436 428 label : langCell.chooseColor, 437 style : 'margin-left: 10px',438 429 onClick : function() 439 430 { 440 431 var self = this; … … 448 439 } 449 440 ] 450 441 }, 451 spacer,452 442 { 453 443 type : 'hbox', 454 444 padding : 0, 455 widths : [ ' 80%', '20%' ],445 widths : [ '60%', '40%' ], 456 446 children : 457 447 [ 458 448 { 459 449 type : 'text', 460 450 id : 'borderColor', 461 451 label : langCell.borderColor, 462 labelLayout : 'horizontal',463 widths : [ '70%', '30%' ],464 452 'default' : '', 465 453 setup : function( element ) 466 454 { … … 483 471 { 484 472 type : 'button', 485 473 id : 'borderColorChoose', 474 "class" : 'colorChooser', 486 475 label : langCell.chooseColor, 487 style : 'margin-left: 10px',488 476 onClick : function() 489 477 { 490 478 var self = this; -
_source/skins/v2/dialog.css
639 639 { 640 640 border : 2px ridge black; 641 641 overflow : scroll; 642 height : 160px;642 height : 210px; 643 643 width : 230px; 644 644 padding : 2px; 645 645 background-color : white; … … 798 798 { 799 799 border-color: #C7C78F; 800 800 } 801 802 803 /** 804 * Styles specific to "cellProperties" dialog. 805 */ 806 807 .cke_skin_v2 .cke_dialog_contents a.colorChooser 808 { 809 display:block; 810 margin-top:12px; 811 margin-left: 10px; 812 width: 40px; 813 } 814 815 .cke_skin_v2 .cke_dialog_contents a.colorChooser .cke_dialog_ui_button 816 { 817 width:100%; 818 } 819 820 .cke_skin_v2 .cke_rtl .cke_dialog_contents a.colorChooser 821 { 822 margin-right: 10px; 823 } -
_source/plugins/image/dialogs/image.js
264 264 return { 265 265 title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton, 266 266 minWidth : 420, 267 minHeight : 310,267 minHeight : CKEDITOR.env.ie && CKEDITOR.env.quirks? 360: 310, 268 268 onShow : function() 269 269 { 270 270 this.imageElement = false; … … 607 607 }, 608 608 { 609 609 type : 'hbox', 610 widths : [ '140px', '240px' ],611 610 children : 612 611 [ 613 612 { 614 613 type : 'vbox', 615 padding : 10,616 614 children : 617 615 [ 618 616 { 619 617 type : 'hbox', 620 widths : [ ' 70%', '30%' ],618 widths : [ '50%', '50%' ], 621 619 children : 622 620 [ 623 621 { … … 629 627 type : 'text', 630 628 width: '40px', 631 629 id : 'txtWidth', 632 labelLayout : 'horizontal',633 630 label : editor.lang.image.width, 634 631 onKeyUp : onSizeChange, 635 632 onChange : function() … … 679 676 type : 'text', 680 677 id : 'txtHeight', 681 678 width: '40px', 682 labelLayout : 'horizontal',683 679 label : editor.lang.image.height, 684 680 onKeyUp : onSizeChange, 685 681 onChange : function() … … 730 726 }, 731 727 { 732 728 type : 'html', 733 style : 'margin-top: 10px;width:40px;height:40px;',729 style : 'margin-top:30px;width:40px;height:40px;', 734 730 onLoad : function() 735 731 { 736 732 // Activate Reset button … … 800 796 type : 'text', 801 797 id : 'txtBorder', 802 798 width: '60px', 803 labelLayout : 'horizontal',804 799 label : editor.lang.image.border, 805 800 'default' : '', 806 801 onKeyUp : function() … … 857 852 type : 'text', 858 853 id : 'txtHSpace', 859 854 width: '60px', 860 labelLayout : 'horizontal',861 855 label : editor.lang.image.hSpace, 862 856 'default' : '', 863 857 onKeyUp : function() … … 921 915 type : 'text', 922 916 id : 'txtVSpace', 923 917 width : '60px', 924 labelLayout : 'horizontal',925 918 label : editor.lang.image.vSpace, 926 919 'default' : '', 927 920 onKeyUp : function() … … 983 976 { 984 977 id : 'cmbAlign', 985 978 type : 'select', 986 labelLayout : 'horizontal',987 979 widths : [ '35%','65%' ], 988 980 style : 'width:90px', 989 981 label : editor.lang.image.align, -
_source/skins/kama/dialog.css
712 712 { 713 713 border : 2px ridge black; 714 714 overflow : scroll; 715 height : 160px;716 width : 230px;715 height : 200px; 716 width : 300px; 717 717 padding : 2px; 718 718 background-color : white; 719 719 } … … 880 880 filter: alpha(opacity=100); 881 881 border: 1px solid white; 882 882 } 883 884 /** 885 * Styles specific to "cellProperties" dialog. 886 */ 887 888 .cke_skin_kama .cke_dialog_contents a.colorChooser 889 { 890 display:block; 891 margin-top:6px; 892 margin-left: 10px; 893 width: 80px; 894 } 895 896 .cke_skin_kama .cke_rtl .cke_dialog_contents a.colorChooser 897 { 898 margin-right: 10px; 899 }