From b50e49c8b54755fabbe72b5d5c92903947103d3b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 7 Aug 2019 13:06:36 +0300 Subject: [PATCH] Change layout --- apps/common/main/lib/view/LanguageDialog.js | 2 +- apps/documenteditor/main/app/view/DocumentHolder.js | 4 ++-- apps/documenteditor/main/app/view/Statusbar.js | 2 +- apps/presentationeditor/main/app/view/DocumentHolder.js | 4 ++-- apps/presentationeditor/main/app/view/Statusbar.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/common/main/lib/view/LanguageDialog.js b/apps/common/main/lib/view/LanguageDialog.js index 123e38dcb..45a06a46c 100644 --- a/apps/common/main/lib/view/LanguageDialog.js +++ b/apps/common/main/lib/view/LanguageDialog.js @@ -85,7 +85,7 @@ define([ this.cmbLanguage = new Common.UI.ComboBox({ el: $window.find('#id-document-language'), cls: 'input-group-nr', - menuStyle: 'min-width: 318px; max-height: 300px;', + menuStyle: 'min-width: 318px; max-height: 285px;', editable: false, template: _.template([ '', diff --git a/apps/documenteditor/main/app/view/DocumentHolder.js b/apps/documenteditor/main/app/view/DocumentHolder.js index bf9559677..3c435dd5e 100644 --- a/apps/documenteditor/main/app/view/DocumentHolder.js +++ b/apps/documenteditor/main/app/view/DocumentHolder.js @@ -2741,7 +2741,7 @@ define([ menu : new Common.UI.Menu({ cls: 'lang-menu', menuAlign: 'tl-tr', - restoreHeight: 300, + restoreHeight: 285, items : [], search: true }) @@ -3382,7 +3382,7 @@ define([ menu : new Common.UI.Menu({ cls: 'lang-menu', menuAlign: 'tl-tr', - restoreHeight: 300, + restoreHeight: 285, items : [], search: true }) diff --git a/apps/documenteditor/main/app/view/Statusbar.js b/apps/documenteditor/main/app/view/Statusbar.js index f0fa2212a..f8131e80d 100644 --- a/apps/documenteditor/main/app/view/Statusbar.js +++ b/apps/documenteditor/main/app/view/Statusbar.js @@ -231,7 +231,7 @@ define([ this.langMenu = new Common.UI.Menu({ cls: 'lang-menu', style: 'margin-top:-5px;', - restoreHeight: 300, + restoreHeight: 285, itemTemplate: _.template([ '', '', diff --git a/apps/presentationeditor/main/app/view/DocumentHolder.js b/apps/presentationeditor/main/app/view/DocumentHolder.js index aca4736c9..e16ca6ae2 100644 --- a/apps/presentationeditor/main/app/view/DocumentHolder.js +++ b/apps/presentationeditor/main/app/view/DocumentHolder.js @@ -2174,7 +2174,7 @@ define([ menu : new Common.UI.Menu({ cls: 'lang-menu', menuAlign: 'tl-tr', - restoreHeight: 300, + restoreHeight: 285, items : [], search: true }) @@ -2249,7 +2249,7 @@ define([ menu : new Common.UI.Menu({ cls: 'lang-menu', menuAlign: 'tl-tr', - restoreHeight: 300, + restoreHeight: 285, items : [], search: true }) diff --git a/apps/presentationeditor/main/app/view/Statusbar.js b/apps/presentationeditor/main/app/view/Statusbar.js index 0c1345649..d0b11b27f 100644 --- a/apps/presentationeditor/main/app/view/Statusbar.js +++ b/apps/presentationeditor/main/app/view/Statusbar.js @@ -251,7 +251,7 @@ define([ this.langMenu = new Common.UI.Menu({ cls: 'lang-menu', style: 'margin-top:-5px;', - restoreHeight: 300, + restoreHeight: 285, itemTemplate: _.template([ '', '',