Ticket #5587: 5587_2.patch
File 5587_2.patch, 6.1 KB (added by , 14 years ago) |
---|
-
_source/plugins/image/dialogs/image.js
801 801 type : 'text', 802 802 id : 'txtBorder', 803 803 width: '60px', 804 labelLayout : 'horizontal',805 804 label : editor.lang.image.border, 806 805 'default' : '', 807 806 onKeyUp : function() … … 858 857 type : 'text', 859 858 id : 'txtHSpace', 860 859 width: '60px', 861 labelLayout : 'horizontal',862 860 label : editor.lang.image.hSpace, 863 861 'default' : '', 864 862 onKeyUp : function() … … 922 920 type : 'text', 923 921 id : 'txtVSpace', 924 922 width : '60px', 925 labelLayout : 'horizontal',926 923 label : editor.lang.image.vSpace, 927 924 'default' : '', 928 925 onKeyUp : function() … … 984 981 { 985 982 id : 'cmbAlign', 986 983 type : 'select', 987 labelLayout : 'horizontal',988 984 widths : [ '35%','65%' ], 989 985 style : 'width:90px', 990 986 label : editor.lang.image.align, -
_source/plugins/link/dialogs/link.js
789 789 }, 790 790 { 791 791 type : 'vbox', 792 width : 260,792 width : '100%', 793 793 align : 'center', 794 794 padding : 2, 795 795 id : 'popupFeatures', … … 893 893 [ 894 894 { 895 895 type : 'text', 896 widths : [ ' 30%', '70%' ],896 widths : [ '50%', '50%' ], 897 897 labelLayout : 'horizontal', 898 898 label : editor.lang.link.popupWidth, 899 899 id : 'width', … … 904 904 { 905 905 type : 'text', 906 906 labelLayout : 'horizontal', 907 widths : [ '5 5%', '45%' ],907 widths : [ '50%', '50%' ], 908 908 label : editor.lang.link.popupLeft, 909 909 id : 'left', 910 910 setup : setupPopupParams, … … 920 920 { 921 921 type : 'text', 922 922 labelLayout : 'horizontal', 923 widths : [ ' 30%', '70%' ],923 widths : [ '50%', '50%' ], 924 924 label : editor.lang.link.popupHeight, 925 925 id : 'height', 926 926 setup : setupPopupParams, … … 931 931 type : 'text', 932 932 labelLayout : 'horizontal', 933 933 label : editor.lang.link.popupTop, 934 widths : [ '5 5%', '45%' ],934 widths : [ '50%', '50%' ], 935 935 id : 'top', 936 936 setup : setupPopupParams, 937 937 commit : commitPopupParams -
_source/plugins/tabletools/dialogs/tableCell.js
12 12 widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/, 13 13 heightPattern = /^(\d+(?:\.\d+)?)px$/, 14 14 bind = CKEDITOR.tools.bind, 15 spacer = { type : 'html', html : ' ' }; 15 spacer = { type : 'html', html : ' ' }, 16 rtl = editor.lang.dir == 'rtl'; 16 17 17 18 /** 18 19 * … … 243 244 { 244 245 type : 'select', 245 246 id : 'hAlign', 246 labelLayout : 'horizontal',247 247 label : langCell.hAlign, 248 widths : [ '50%', '50%' ],249 248 'default' : '', 250 249 items : 251 250 [ … … 276 275 { 277 276 type : 'select', 278 277 id : 'vAlign', 279 labelLayout : 'horizontal',280 278 label : langCell.vAlign, 281 widths : [ '50%', '50%' ],282 279 'default' : '', 283 280 items : 284 281 [ … … 399 396 { 400 397 type : 'hbox', 401 398 padding : 0, 402 widths : [ ' 80%', '20%' ],399 widths : [ '70%', '30%' ], 403 400 children : 404 401 [ 405 402 { 406 403 type : 'text', 407 404 id : 'bgColor', 408 405 label : langCell.bgColor, 409 labelLayout : 'horizontal',410 widths : [ '70%', '30%' ],411 406 'default' : '', 412 407 setup : function( element ) 413 408 { … … 432 427 type : 'button', 433 428 id : 'bgColorChoose', 434 429 label : langCell.chooseColor, 435 style : 'margin-left: 10px', 430 style : ( rtl ? 'margin-right' : 'margin-left' ) + ': 10px', 431 onLoad : function() 432 { 433 // Stick the element to the bottom (#5587) 434 this.getElement().getParent().setStyle( 'vertical-align', 'bottom' ); 435 }, 436 436 onClick : function() 437 437 { 438 438 var self = this; … … 450 450 { 451 451 type : 'hbox', 452 452 padding : 0, 453 widths : [ ' 80%', '20%' ],453 widths : [ '70%', '30%' ], 454 454 children : 455 455 [ 456 456 { 457 457 type : 'text', 458 458 id : 'borderColor', 459 459 label : langCell.borderColor, 460 labelLayout : 'horizontal',461 widths : [ '70%', '30%' ],462 460 'default' : '', 463 461 setup : function( element ) 464 462 { … … 482 480 type : 'button', 483 481 id : 'borderColorChoose', 484 482 label : langCell.chooseColor, 485 style : 'margin-left: 10px', 483 style : ( rtl ? 'margin-right' : 'margin-left' ) + ': 10px', 484 onLoad : function() 485 { 486 // Stick the element to the bottom (#5587) 487 this.getElement().getParent().setStyle( 'vertical-align', 'bottom' ); 488 }, 486 489 onClick : function() 487 490 { 488 491 var self = this;