diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 21fc5848c..d605b098c 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -530,7 +530,7 @@ define([ onHorizontalAlign: function(type, btn, e) { this._state.pralign = undefined; if (this.api) { - this.api.asc_setCellAlign(!btn.pressed ? 'left' : type); + this.api.asc_setCellAlign(!btn.pressed ? 'none' : type); this.toolbar.btnWrap.allowDepress = !(type == 'justify'); } @@ -550,7 +550,7 @@ define([ this._state.pralign = undefined; if (this.api) - this.api.asc_setCellAlign(!item.checked ? 'left' : item.value); + this.api.asc_setCellAlign(!item.checked ? 'none' : item.value); this.toolbar.btnWrap.allowDepress = !(item.value == 'justify');