Ticket #4174: 4174_2.patch

File 4174_2.patch, 4.5 KB (added by Garry Yao, 16 years ago)
  • _source/plugins/image/dialogs/image.js

     
    188188                return {
    189189                        title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton,
    190190                        minWidth : 420,
    191                         minHeight : 310,
     191                        minHeight : CKEDITOR.env.ie ? CKEDITOR.env.quirks ? 368 : 340 : 327 ,
    192192                        onShow : function()
    193193                        {
    194194                                this.imageElement = false;
     
    391391                                                                },
    392392                                                                {
    393393                                                                        type : 'hbox',
    394                                                                         widths : [ '280px', '110px' ],
    395394                                                                        align : 'right',
    396395                                                                        children :
    397396                                                                        [
    398397                                                                                {
    399398                                                                                        id : 'txtUrl',
    400399                                                                                        type : 'text',
     400                                                                                        width : '280px',
    401401                                                                                        label : '',
    402402                                                                                        onChange : function()
    403403                                                                                        {
     
    483483                                                {
    484484                                                        id : 'txtAlt',
    485485                                                        type : 'text',
     486                                                        width: '280px',
    486487                                                        label : editor.lang.image.alt,
    487488                                                        accessKey : 'A',
    488489                                                        'default' : '',
     
    519520                                                        [
    520521                                                                {
    521522                                                                        type : 'vbox',
    522                                                                         padding : 10,
    523523                                                                        children :
    524524                                                                        [
    525525                                                                                {
    526526                                                                                        type : 'hbox',
    527                                                                                         widths : [ '70%', '30%' ],
     527                                                                                        widths : [ '40%', '60%' ],
    528528                                                                                        children :
    529529                                                                                        [
    530530                                                                                                {
     
    536536                                                                                                                        type : 'text',
    537537                                                                                                                        width: '40px',
    538538                                                                                                                        id : 'txtWidth',
    539                                                                                                                         labelLayout : 'horizontal',
    540539                                                                                                                        label : editor.lang.image.width,
    541540                                                                                                                        onKeyUp : onSizeChange,
    542541                                                                                                                        validate: function()
     
    582581                                                                                                                        type : 'text',
    583582                                                                                                                        id : 'txtHeight',
    584583                                                                                                                        width: '40px',
    585                                                                                                                         labelLayout : 'horizontal',
    586584                                                                                                                        label : editor.lang.image.height,
    587585                                                                                                                        onKeyUp : onSizeChange,
    588586                                                                                                                        validate: function()
     
    628626                                                                                                },
    629627                                                                                                {
    630628                                                                                                        type : 'html',
    631                                                                                                         style : 'margin-top:10px;width:40px;height:40px;',
     629                                                                                                        style : 'margin-top:30px;width:40px;height:40px;',
    632630                                                                                                        onLoad : function()
    633631                                                                                                        {
    634632                                                                                                                // Activate Reset button
     
    696694                                                                                                        type : 'text',
    697695                                                                                                        id : 'txtBorder',
    698696                                                                                                        width: '60px',
    699                                                                                                         labelLayout : 'horizontal',
    700697                                                                                                        label : editor.lang.image.border,
    701698                                                                                                        'default' : '',
    702699                                                                                                        onKeyUp : function()
     
    738735                                                                                                        type : 'text',
    739736                                                                                                        id : 'txtHSpace',
    740737                                                                                                        width: '60px',
    741                                                                                                         labelLayout : 'horizontal',
    742738                                                                                                        label : editor.lang.image.hSpace,
    743739                                                                                                        'default' : '',
    744740                                                                                                        onKeyUp : function()
     
    786782                                                                                                        type : 'text',
    787783                                                                                                        id : 'txtVSpace',
    788784                                                                                                        width : '60px',
    789                                                                                                         labelLayout : 'horizontal',
    790785                                                                                                        label : editor.lang.image.vSpace,
    791786                                                                                                        'default' : '',
    792787                                                                                                        onKeyUp : function()
     
    829824                                                                                                {
    830825                                                                                                        id : 'cmbAlign',
    831826                                                                                                        type : 'select',
    832                                                                                                         labelLayout : 'horizontal',
    833827                                                                                                        widths : [ '35%','65%' ],
    834828                                                                                                        style : 'width:90px',
    835829                                                                                                        label : editor.lang.image.align,
  • _source/plugins/flash/dialogs/flash.js

     
    180180                return {
    181181                        title : editor.lang.flash.title,
    182182                        minWidth : 420,
    183                         minHeight : 310,
     183                        minHeight : CKEDITOR.env.ie ? CKEDITOR.env.quirks ? 350 : 340 : 310,
    184184                        onShow : function()
    185185                        {
    186186                                // Clear previously saved elements.
     
    353353                                                },
    354354                                                {
    355355                                                        type : 'hbox',
    356                                                         widths : [ '25%', '25%', '25%', '25%', '25%' ],
     356                                                        widths : [ '50%', '50%' ],
    357357                                                        children :
    358358                                                        [
    359359                                                                {
     
    401401                                                                                if ( this.getValue() )
    402402                                                                                        extraStyles.height = this.getValue() + 'px';
    403403                                                                        }
    404                                                                 },
    405                                                                 {
     404                                                                }
     405                                                        ]
     406                                                },
     407                                                {
     408                                                        type : 'hbox',
     409                                                        widths : [ '50%', '50%' ],
     410                                                        children :
     411                                                        [
     412                                                                {
    406413                                                                        type : 'text',
    407414                                                                        id : 'hSpace',
    408415                                                                        style : 'width:95px',
     
    422429                                                                }
    423430                                                        ]
    424431                                                },
    425 
    426432                                                {
    427433                                                        type : 'vbox',
    428434                                                        children :
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy