diff --git a/apps/spreadsheeteditor/main/app/template/ProtectRangesDlg.template b/apps/spreadsheeteditor/main/app/template/ProtectRangesDlg.template
index f7abb351d4..e28a912719 100644
--- a/apps/spreadsheeteditor/main/app/template/ProtectRangesDlg.template
+++ b/apps/spreadsheeteditor/main/app/template/ProtectRangesDlg.template
@@ -10,18 +10,18 @@
- |
-
- |
-
-
- |
-
+ |
+
|
-
+ |
|
+
+
+ |
+
+ |
diff --git a/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js b/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js
index 4af50fc7a3..4d94304438 100644
--- a/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js
+++ b/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js
@@ -50,7 +50,8 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
options: {
alias: 'ProtectRangesDlg',
contentWidth: 480,
- height: 353
+ height: 333,
+ id: 'window-protect-ranges'
},
initialize: function (options) {
@@ -61,7 +62,6 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
'',
'
' + _.template(contentTemplate)({scope: this}) + '
',
'
',
- ''
].join(''),
buttons: [
// {
diff --git a/apps/spreadsheeteditor/main/resources/less/advanced-settings.less b/apps/spreadsheeteditor/main/resources/less/advanced-settings.less
index 8010db95ed..98256acc41 100644
--- a/apps/spreadsheeteditor/main/resources/less/advanced-settings.less
+++ b/apps/spreadsheeteditor/main/resources/less/advanced-settings.less
@@ -625,6 +625,17 @@
}
}
+#window-protect-ranges {
+ #protect-ranges-btn-new {
+ margin-right:5px;
+
+ .rtl & {
+ margin-right: 0px;
+ margin-left: 5px;
+ }
+ }
+}
+
#printadv-dlg-pages {
margin-top: 16px;