[SSE] Align objects
This commit is contained in:
parent
996c2f5641
commit
c86e3e77c5
|
@ -3254,7 +3254,7 @@ define([
|
|||
|
||||
onImgAlignSelect: function(menu, item) {
|
||||
if (this.api)
|
||||
// this.api.asc_setSelectedDrawingObjectLayer(item.value);
|
||||
this.api.asc_setSelectedDrawingObjectAlign(item.value);
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Objects Align');
|
||||
},
|
||||
|
|
|
@ -2154,27 +2154,27 @@ define([
|
|||
items: [{
|
||||
caption : _holder_view.textShapeAlignLeft,
|
||||
iconCls : 'mnu-img-align-left',
|
||||
// halign : Asc.c_oAscAlignH.Left
|
||||
value : 0
|
||||
}, {
|
||||
caption : _holder_view.textShapeAlignCenter,
|
||||
iconCls : 'mnu-img-align-center',
|
||||
// halign : Asc.c_oAscAlignH.Center
|
||||
value : 4
|
||||
}, {
|
||||
caption : _holder_view.textShapeAlignRight,
|
||||
iconCls : 'mnu-img-align-right',
|
||||
// halign : Asc.c_oAscAlignH.Right
|
||||
value : 1
|
||||
}, {
|
||||
caption : _holder_view.textShapeAlignTop,
|
||||
iconCls : 'mnu-img-align-top',
|
||||
// valign : Asc.c_oAscAlignV.Top
|
||||
value : 3
|
||||
}, {
|
||||
caption : _holder_view.textShapeAlignMiddle,
|
||||
iconCls : 'mnu-img-align-middle',
|
||||
// valign : Asc.c_oAscAlignV.Center
|
||||
value : 5
|
||||
}, {
|
||||
caption : _holder_view.textShapeAlignBottom,
|
||||
iconCls : 'mnu-img-align-bottom',
|
||||
// valign : Asc.c_oAscAlignV.Bottom
|
||||
value : 2
|
||||
}]
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in a new issue