diff --git a/apps/common/main/resources/less/toolbar.less b/apps/common/main/resources/less/toolbar.less index 61a9f3eab..7fb35ebc9 100644 --- a/apps/common/main/resources/less/toolbar.less +++ b/apps/common/main/resources/less/toolbar.less @@ -668,3 +668,23 @@ width: 20px; height: 21px; } + +.menu-iconsets { + margin: 5px 5px 0 10px; + + .group-items-container > div { + margin-right: 8px !important; + &:not(:hover), + &:not(.selected) { + .box-shadow(none); + } + } + .item-iconset { + img { + margin: 2px; + } + + width: 100px; + height: 20px; + } +} \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 758744a96..610701660 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -1665,9 +1665,57 @@ define([ ]; picker.setStore(new Common.UI.DataViewStore(arr)); - this.toolbar.mnuIconSets.menu.addItem(new Common.UI.MenuItem({ - template: _.template('
') + menuItem = this.toolbar.mnuIconSets; + menuItem.menu.addItem(new Common.UI.MenuItem({ + template: _.template('') })); + arr = []; + var indexes = [Asc.EIconSetType.Arrows3, Asc.EIconSetType.Arrows3Gray, Asc.EIconSetType.Triangles3, Asc.EIconSetType.Arrows4Gray, Asc.EIconSetType.Arrows4, Asc.EIconSetType.Arrows5Gray, Asc.EIconSetType.Arrows5]; + for (var i=0; i