From 35b6f67f7fc8407519195e6a8d2a7168804c440b Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 23 Nov 2021 21:29:53 +0300 Subject: [PATCH] [DE] Fix bug 54036 --- apps/documenteditor/main/app/view/TableSettings.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/view/TableSettings.js b/apps/documenteditor/main/app/view/TableSettings.js index bf31a827b..692d8e3b0 100644 --- a/apps/documenteditor/main/app/view/TableSettings.js +++ b/apps/documenteditor/main/app/view/TableSettings.js @@ -442,7 +442,9 @@ define([ parentEl: $('#table-btn-distrub-rows', me.$el), cls: 'btn-toolbar', iconCls: 'toolbar__icon distribute-rows', - hint: this.textDistributeRows + hint: this.textDistributeRows, + dataHint: '1', + dataHintDirection: 'top' }); this.lockedControls.push(this.btnDistributeRows); this.btnDistributeRows.on('click', _.bind(function(btn){ @@ -453,7 +455,10 @@ define([ parentEl: $('#table-btn-distrub-cols', me.$el), cls: 'btn-toolbar', iconCls: 'toolbar__icon distribute-columns', - hint: this.textDistributeCols + hint: this.textDistributeCols, + dataHint: '1', + dataHintDirection: 'bottom', + dataHintOffset: 'small' }); this.lockedControls.push(this.btnDistributeCols); this.btnDistributeCols.on('click', _.bind(function(btn){ @@ -471,7 +476,10 @@ define([ cls : 'btn-toolbar', iconCls : 'toolbar__icon table-to-text', caption : this.textConvert, - style : 'width: 100%;text-align: left;' + style : 'width: 100%;text-align: left;', + dataHint : '1', + dataHintDirection: 'left', + dataHintOffset: 'medium' }); this.btnConvert.on('click', _.bind(this.onConvertTable, this)); this.lockedControls.push(this.btnConvert);