diff --git a/src/base/layer/layer.popup.js b/src/base/layer/layer.popup.js index 7a570810a..e3278742b 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; },