From 65827cbe9eb89dab8e4cc0f26e4c16af48ad5648 Mon Sep 17 00:00:00 2001 From: "Jimmy.Chai" Date: Fri, 12 Mar 2021 14:04:37 +0800 Subject: [PATCH] =?UTF-8?q?BI-82929=20fix=EF=BC=9A=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E5=86=85=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/layer/layer.popup.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/base/layer/layer.popup.js b/src/base/layer/layer.popup.js index 7a570810a2..e3278742b5 100644 --- a/src/base/layer/layer.popup.js +++ b/src/base/layer/layer.popup.js @@ -18,6 +18,7 @@ BI.PopupView = BI.inherit(BI.Widget, { vgap: 0, hgap: 0, innerVGap: 0, + innerHGap: 0, direction: BI.Direction.Top, // 工具栏的方向 stopEvent: false, // 是否停止mousedown、mouseup事件 stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡 @@ -98,7 +99,9 @@ BI.PopupView = BI.inherit(BI.Widget, { this.button_group.element.css({ "min-height": BI.isNumeric(o.minHeight) ? (o.minHeight / BI.pixRatio + BI.pixUnit) : o.minHeight, "padding-top": o.innerVGap / BI.pixRatio + BI.pixUnit, - "padding-bottom": o.innerVGap / BI.pixRatio + BI.pixUnit + "padding-bottom": o.innerVGap / BI.pixRatio + BI.pixUnit, + "padding-left": o.innerHGap / BI.pixRatio + BI.pixUnit, + "padding-right": o.innerHGap / BI.pixRatio + BI.pixUnit, }); return this.button_group; },