Change layout

This commit is contained in:
Julia Radzhabova 2019-08-07 13:06:36 +03:00
parent a397c3a7af
commit b50e49c8b5
5 changed files with 7 additions and 7 deletions

View file

@ -85,7 +85,7 @@ define([
this.cmbLanguage = new Common.UI.ComboBox({ this.cmbLanguage = new Common.UI.ComboBox({
el: $window.find('#id-document-language'), el: $window.find('#id-document-language'),
cls: 'input-group-nr', cls: 'input-group-nr',
menuStyle: 'min-width: 318px; max-height: 300px;', menuStyle: 'min-width: 318px; max-height: 285px;',
editable: false, editable: false,
template: _.template([ template: _.template([
'<span class="input-group combobox <%= cls %> combo-langs" id="<%= id %>" style="<%= style %>">', '<span class="input-group combobox <%= cls %> combo-langs" id="<%= id %>" style="<%= style %>">',

View file

@ -2741,7 +2741,7 @@ define([
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'lang-menu', cls: 'lang-menu',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
restoreHeight: 300, restoreHeight: 285,
items : [], items : [],
search: true search: true
}) })
@ -3382,7 +3382,7 @@ define([
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'lang-menu', cls: 'lang-menu',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
restoreHeight: 300, restoreHeight: 285,
items : [], items : [],
search: true search: true
}) })

View file

@ -231,7 +231,7 @@ define([
this.langMenu = new Common.UI.Menu({ this.langMenu = new Common.UI.Menu({
cls: 'lang-menu', cls: 'lang-menu',
style: 'margin-top:-5px;', style: 'margin-top:-5px;',
restoreHeight: 300, restoreHeight: 285,
itemTemplate: _.template([ itemTemplate: _.template([
'<a id="<%= id %>" tabindex="-1" type="menuitem" style="padding-left: 28px !important;" langval="<%= options.value.value %>">', '<a id="<%= id %>" tabindex="-1" type="menuitem" style="padding-left: 28px !important;" langval="<%= options.value.value %>">',
'<i class="icon <% if (options.spellcheck) { %> img-toolbarmenu spellcheck-lang <% } %>"></i>', '<i class="icon <% if (options.spellcheck) { %> img-toolbarmenu spellcheck-lang <% } %>"></i>',

View file

@ -2174,7 +2174,7 @@ define([
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'lang-menu', cls: 'lang-menu',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
restoreHeight: 300, restoreHeight: 285,
items : [], items : [],
search: true search: true
}) })
@ -2249,7 +2249,7 @@ define([
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'lang-menu', cls: 'lang-menu',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
restoreHeight: 300, restoreHeight: 285,
items : [], items : [],
search: true search: true
}) })

View file

@ -251,7 +251,7 @@ define([
this.langMenu = new Common.UI.Menu({ this.langMenu = new Common.UI.Menu({
cls: 'lang-menu', cls: 'lang-menu',
style: 'margin-top:-5px;', style: 'margin-top:-5px;',
restoreHeight: 300, restoreHeight: 285,
itemTemplate: _.template([ itemTemplate: _.template([
'<a id="<%= id %>" tabindex="-1" type="menuitem" style="padding-left: 28px !important;" langval="<%= options.value.value %>">', '<a id="<%= id %>" tabindex="-1" type="menuitem" style="padding-left: 28px !important;" langval="<%= options.value.value %>">',
'<i class="icon <% if (options.spellcheck) { %> img-toolbarmenu spellcheck-lang <% } %>"></i>', '<i class="icon <% if (options.spellcheck) { %> img-toolbarmenu spellcheck-lang <% } %>"></i>',