Ticket #5587: 5587_2.patch

File 5587_2.patch, 6.1 KB (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/image/dialogs/image.js

     
    801801                                                                                                        type : 'text',
    802802                                                                                                        id : 'txtBorder',
    803803                                                                                                        width: '60px',
    804                                                                                                         labelLayout : 'horizontal',
    805804                                                                                                        label : editor.lang.image.border,
    806805                                                                                                        'default' : '',
    807806                                                                                                        onKeyUp : function()
     
    858857                                                                                                        type : 'text',
    859858                                                                                                        id : 'txtHSpace',
    860859                                                                                                        width: '60px',
    861                                                                                                         labelLayout : 'horizontal',
    862860                                                                                                        label : editor.lang.image.hSpace,
    863861                                                                                                        'default' : '',
    864862                                                                                                        onKeyUp : function()
     
    922920                                                                                                        type : 'text',
    923921                                                                                                        id : 'txtVSpace',
    924922                                                                                                        width : '60px',
    925                                                                                                         labelLayout : 'horizontal',
    926923                                                                                                        label : editor.lang.image.vSpace,
    927924                                                                                                        'default' : '',
    928925                                                                                                        onKeyUp : function()
     
    984981                                                                                                {
    985982                                                                                                        id : 'cmbAlign',
    986983                                                                                                        type : 'select',
    987                                                                                                         labelLayout : 'horizontal',
    988984                                                                                                        widths : [ '35%','65%' ],
    989985                                                                                                        style : 'width:90px',
    990986                                                                                                        label : editor.lang.image.align,
  • _source/plugins/link/dialogs/link.js

     
    789789                                        },
    790790                                        {
    791791                                                type : 'vbox',
    792                                                 width : 260,
     792                                                width : '100%',
    793793                                                align : 'center',
    794794                                                padding : 2,
    795795                                                id : 'popupFeatures',
     
    893893                                                                                [
    894894                                                                                        {
    895895                                                                                                type :  'text',
    896                                                                                                 widths : [ '30%', '70%' ],
     896                                                                                                widths : [ '50%', '50%' ],
    897897                                                                                                labelLayout : 'horizontal',
    898898                                                                                                label : editor.lang.link.popupWidth,
    899899                                                                                                id : 'width',
     
    904904                                                                                        {
    905905                                                                                                type :  'text',
    906906                                                                                                labelLayout : 'horizontal',
    907                                                                                                 widths : [ '55%', '45%' ],
     907                                                                                                widths : [ '50%', '50%' ],
    908908                                                                                                label : editor.lang.link.popupLeft,
    909909                                                                                                id : 'left',
    910910                                                                                                setup : setupPopupParams,
     
    920920                                                                                        {
    921921                                                                                                type :  'text',
    922922                                                                                                labelLayout : 'horizontal',
    923                                                                                                 widths : [ '30%', '70%' ],
     923                                                                                                widths : [ '50%', '50%' ],
    924924                                                                                                label : editor.lang.link.popupHeight,
    925925                                                                                                id : 'height',
    926926                                                                                                setup : setupPopupParams,
     
    931931                                                                                                type :  'text',
    932932                                                                                                labelLayout : 'horizontal',
    933933                                                                                                label : editor.lang.link.popupTop,
    934                                                                                                 widths : [ '55%', '45%' ],
     934                                                                                                widths : [ '50%', '50%' ],
    935935                                                                                                id : 'top',
    936936                                                                                                setup : setupPopupParams,
    937937                                                                                                commit : commitPopupParams
  • _source/plugins/tabletools/dialogs/tableCell.js

     
    1212                        widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/,
    1313                        heightPattern = /^(\d+(?:\.\d+)?)px$/,
    1414                        bind = CKEDITOR.tools.bind,
    15                         spacer = { type : 'html', html : ' ' };
     15                        spacer = { type : 'html', html : ' ' },
     16                        rtl = editor.lang.dir == 'rtl';
    1617
    1718                /**
    1819                 *
     
    243244                                                                                {
    244245                                                                                        type : 'select',
    245246                                                                                        id : 'hAlign',
    246                                                                                         labelLayout : 'horizontal',
    247247                                                                                        label : langCell.hAlign,
    248                                                                                         widths : [ '50%', '50%' ],
    249248                                                                                        'default' : '',
    250249                                                                                        items :
    251250                                                                                        [
     
    276275                                                                                {
    277276                                                                                        type : 'select',
    278277                                                                                        id : 'vAlign',
    279                                                                                         labelLayout : 'horizontal',
    280278                                                                                        label : langCell.vAlign,
    281                                                                                         widths : [ '50%', '50%' ],
    282279                                                                                        'default' : '',
    283280                                                                                        items :
    284281                                                                                        [
     
    399396                                                                                {
    400397                                                                                        type : 'hbox',
    401398                                                                                        padding : 0,
    402                                                                                         widths : [ '80%', '20%' ],
     399                                                                                        widths : [ '70%', '30%' ],
    403400                                                                                        children :
    404401                                                                                        [
    405402                                                                                                {
    406403                                                                                                        type : 'text',
    407404                                                                                                        id : 'bgColor',
    408405                                                                                                        label : langCell.bgColor,
    409                                                                                                         labelLayout : 'horizontal',
    410                                                                                                         widths : [ '70%', '30%' ],
    411406                                                                                                        'default' : '',
    412407                                                                                                        setup : function( element )
    413408                                                                                                        {
     
    432427                                                                                                        type : 'button',
    433428                                                                                                        id : 'bgColorChoose',
    434429                                                                                                        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                                                                                                        },
    436436                                                                                                        onClick : function()
    437437                                                                                                        {
    438438                                                                                                                var self = this;
     
    450450                                                                                {
    451451                                                                                        type : 'hbox',
    452452                                                                                        padding : 0,
    453                                                                                         widths : [ '80%', '20%' ],
     453                                                                                        widths : [ '70%', '30%' ],
    454454                                                                                        children :
    455455                                                                                        [
    456456                                                                                                {
    457457                                                                                                        type : 'text',
    458458                                                                                                        id : 'borderColor',
    459459                                                                                                        label : langCell.borderColor,
    460                                                                                                         labelLayout : 'horizontal',
    461                                                                                                         widths : [ '70%', '30%' ],
    462460                                                                                                        'default' : '',
    463461                                                                                                        setup : function( element )
    464462                                                                                                        {
     
    482480                                                                                                        type : 'button',
    483481                                                                                                        id : 'borderColorChoose',
    484482                                                                                                        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                                                                                                        },
    486489                                                                                                        onClick : function()
    487490                                                                                                        {
    488491                                                                                                                var self = this;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy