diff --git a/apps/documenteditor/main/app/view/TableSettings.js b/apps/documenteditor/main/app/view/TableSettings.js index 559a27e54..dc9f19ca5 100644 --- a/apps/documenteditor/main/app/view/TableSettings.js +++ b/apps/documenteditor/main/app/view/TableSettings.js @@ -486,7 +486,7 @@ define([ this.mnuTableTemplatePicker.selectRecord(rec, true); this.btnTableTemplate.resumeEvents(); - this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 50px'}); + this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 52px'}); this._state.TemplateId = value; } @@ -695,7 +695,7 @@ define([ cls : 'btn-large-dataview template-table', iconCls : 'icon-template-table', menu : new Common.UI.Menu({ - style: 'width: 575px;', + style: 'width: 588px;', items: [ { template: _.template('') } ] @@ -708,7 +708,7 @@ define([ restoreHeight: 350, groups: new Common.UI.DataViewGroupStore(), store: new Common.UI.DataViewStore(), - itemTemplate: _.template('
'), + itemTemplate: _.template('
'), style: 'max-height: 350px;' }); }); diff --git a/apps/presentationeditor/main/app/view/TableSettings.js b/apps/presentationeditor/main/app/view/TableSettings.js index b2b167674..e0025a957 100644 --- a/apps/presentationeditor/main/app/view/TableSettings.js +++ b/apps/presentationeditor/main/app/view/TableSettings.js @@ -437,7 +437,7 @@ define([ this.mnuTableTemplatePicker.selectRecord(rec, true); this.btnTableTemplate.resumeEvents(); - this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 50px'}); + this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'auto 52px'}); this._state.TemplateId = value; } @@ -639,7 +639,7 @@ define([ cls : 'btn-large-dataview template-table', iconCls : 'icon-template-table', menu : new Common.UI.Menu({ - style: 'width: 575px;', + style: 'width: 588px;', items: [ { template: _.template('') } ] @@ -652,7 +652,7 @@ define([ restoreHeight: 350, groups: new Common.UI.DataViewGroupStore(), store: new Common.UI.DataViewStore(), - itemTemplate: _.template('
'), + itemTemplate: _.template('
'), style: 'max-height: 350px;' }); });