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