diff --git a/apps/spreadsheeteditor/main/app/view/Spellcheck.js b/apps/spreadsheeteditor/main/app/view/Spellcheck.js index af76185ed..7c40d07ce 100644 --- a/apps/spreadsheeteditor/main/app/view/Spellcheck.js +++ b/apps/spreadsheeteditor/main/app/view/Spellcheck.js @@ -51,7 +51,7 @@ define([ el: '#left-panel-spellcheck', template: _.template([ - '
', + '
', '
<%= scope.txtSpelling %>
', '
', '
', @@ -145,7 +145,10 @@ define([ style : 'width: 100%', menuStyle : 'width: 100%;max-height: 163px;', editable : false, - cls : 'input-group-nr' + cls : 'input-group-nr', + scroller : { + suppressScrollX: true + } }); this.btnToDictionary = new Common.UI.Button({ @@ -155,6 +158,14 @@ define([ this.lblComplete = this.$el.find('#spellcheck-complete'); this.trigger('render:after', this); + + if (_.isUndefined(this.scroller)) { + this.scroller = new Common.UI.Scroller({ + el: this.$el.find('#spellcheck-box'), + suppressScrollX: true + }); + } + return this; },