From 3b325b4cf5c4f48c0103f1398d481ae36bfaacf1 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 10 Oct 2022 22:12:58 +0300 Subject: [PATCH] [PE] Add icons --- apps/presentationeditor/main/app/view/DocumentHolder.js | 4 ++-- apps/presentationeditor/main/app/view/ViewTab.js | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/presentationeditor/main/app/view/DocumentHolder.js b/apps/presentationeditor/main/app/view/DocumentHolder.js index 131f3a128..49d6c7132 100644 --- a/apps/presentationeditor/main/app/view/DocumentHolder.js +++ b/apps/presentationeditor/main/app/view/DocumentHolder.js @@ -968,8 +968,8 @@ define([ items: [ { caption: me.textShowGuides, value: 'show', checkable: true }, { caption: '--'}, - { caption: me.textAddVGuides, value: 'add-vert' }, - { caption: me.textAddHGuides, value: 'add-hor' }, + { caption: me.textAddVGuides, iconCls: 'menu__icon vertical-guide', value: 'add-vert' }, + { caption: me.textAddHGuides, iconCls: 'menu__icon horizontal-guide', value: 'add-hor' }, { caption: me.textDeleteGuide, value: 'del-guide' }, { caption: '--'}, { caption: me.textSmartGuides, value: 'smart', checkable: true }, diff --git a/apps/presentationeditor/main/app/view/ViewTab.js b/apps/presentationeditor/main/app/view/ViewTab.js index 1ee69f0b4..7df50557c 100644 --- a/apps/presentationeditor/main/app/view/ViewTab.js +++ b/apps/presentationeditor/main/app/view/ViewTab.js @@ -275,7 +275,7 @@ define([ this.btnGuides = new Common.UI.Button({ cls: 'btn-toolbar x-huge icon-top', - iconCls: 'toolbar__icon day', + iconCls: 'toolbar__icon guides', caption: this.textGuides, lock: [_set.disableOnStart], enableToggle: true, @@ -291,7 +291,7 @@ define([ this.btnGridlines = new Common.UI.Button({ cls: 'btn-toolbar x-huge icon-top', - iconCls: 'toolbar__icon day', + iconCls: 'toolbar__icon gridlines', caption: this.textGridlines, lock: [_set.disableOnStart], enableToggle: true, @@ -344,11 +344,12 @@ define([ me.btnGridlines.updateHint(me.tipGridlines); me.btnGuides.setMenu( new Common.UI.Menu({ + cls: 'shifted-right', items: [ { caption: me.textShowGuides, value: 'show', checkable: true }, { caption: '--'}, - { caption: me.textAddVGuides, value: 'add-vert' }, - { caption: me.textAddHGuides, value: 'add-hor' }, + { caption: me.textAddVGuides, iconCls: 'menu__icon vertical-guide', value: 'add-vert' }, + { caption: me.textAddHGuides, iconCls: 'menu__icon horizontal-guide', value: 'add-hor' }, { caption: '--'}, { caption: me.textSmartGuides, value: 'smart', checkable: true }, { caption: me.textClearGuides, value: 'clear' }