From 5e38c59787f0b732649bd1c1fecf405f5bb4197b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 3 Apr 2020 20:21:00 +0300 Subject: [PATCH] Fix Bug 43986 --- .../main/lib/component/ComboBorderSize.js | 6 ++--- .../img/combo-border-size/BorderSize.png | Bin 216 -> 254 bytes .../img/combo-border-size/BorderSize@2x.png | Bin 0 -> 275 bytes .../resources/less/combo-border-size.less | 20 ++++++++++++++- .../main/resources/img/toolbar/BorderSize.png | Bin 2446 -> 214 bytes .../resources/img/toolbar/BorderSize@2x.png | Bin 107 -> 234 bytes .../main/resources/less/rightmenu.less | 18 ++++++++++++++ .../main/resources/less/toolbar.less | 23 +++++++++++++++--- 8 files changed, 60 insertions(+), 7 deletions(-) create mode 100644 apps/common/main/resources/img/combo-border-size/BorderSize@2x.png diff --git a/apps/common/main/lib/component/ComboBorderSize.js b/apps/common/main/lib/component/ComboBorderSize.js index 8f01b7071..f7c7ef6b4 100644 --- a/apps/common/main/lib/component/ComboBorderSize.js +++ b/apps/common/main/lib/component/ComboBorderSize.js @@ -142,7 +142,7 @@ define([ if (record.get('value')>0) { formcontrol[0].innerHTML = ''; formcontrol.removeClass('text').addClass('image'); - formcontrol.css('background-position', '0 -' + record.get('offsety') + 'px'); + formcontrol.css('background-position', '10px -' + record.get('offsety') + 'px'); } else { formcontrol[0].innerHTML = this.txtNoBorders; formcontrol.removeClass('image').addClass('text'); @@ -229,7 +229,7 @@ define([ '', '