[SSE] Bug 43708 (Cell settings: fix gradient slider style, add tooltip)

This commit is contained in:
JuliaSvinareva 2020-07-03 19:58:39 +03:00
parent 0b9ff0405d
commit 1a08f99fd5
3 changed files with 11 additions and 4 deletions

View file

@ -34,7 +34,7 @@
top: 6px;
left: 1px;
width: 10px;
height: 8px;
height: 9px;
background-color: #ffffff;
border: solid 1px @gray-darker;
border-top: none;
@ -82,6 +82,7 @@
background-position: 0 0;
outline: 1px solid rgba(162, 162, 162, 1);
border: 1px solid #FFFFFF;
cursor: copy;
}
}

View file

@ -450,7 +450,8 @@ define([
parentEl: $('#cell-gradient-add-step'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-add-breakpoint',
disabled: this._locked
disabled: this._locked,
hint: this.tipAddGradientPoint,
});
this.btnAddGradientStep.on('click', _.bind(this.onAddGradientStep, this));
this.lockedControls.push(this.btnAddGradientStep);
@ -459,7 +460,8 @@ define([
parentEl: $('#cell-gradient-remove-step'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-remove-breakpoint',
disabled: this._locked
disabled: this._locked,
hint: this.tipRemoveGradientPoint
});
this.btnRemoveGradientStep.on('click', _.bind(this.onRemoveGradientStep, this));
this.lockedControls.push(this.btnRemoveGradientStep);
@ -1287,7 +1289,9 @@ define([
strWrap: 'Wrap text',
strShrink: 'Shrink to fit',
textGradientColor: 'Color',
textPosition: 'Position'
textPosition: 'Position',
tipAddGradientPoint: 'Add gradient point',
tipRemoveGradientPoint: 'Remove gradient point'
}, SSE.Views.CellSettings || {}));
});

View file

@ -1265,6 +1265,8 @@
"SSE.Views.CellSettings.strShrink": "Shrink to fit",
"SSE.Views.CellSettings.textGradientColor": "Color",
"SSE.Views.CellSettings.textPosition": "Position",
"SSE.Views.CellSettings.tipAddGradientPoint": "Add gradient point",
"SSE.Views.CellSettings.tipRemoveGradientPoint": "Remove gradient point",
"SSE.Views.ChartSettings.strLineWeight": "Line Weight",
"SSE.Views.ChartSettings.strSparkColor": "Color",
"SSE.Views.ChartSettings.strTemplate": "Template",