Browse Source

Pull request #1834: BI-82929 fix:左右内间距

Merge in VISUAL/fineui from ~JIMMY.CHAI/fineui:master to master

* commit '65827cbe9eb89dab8e4cc0f26e4c16af48ad5648':
  BI-82929 fix:左右内间距
es6
Jimmy.Chai 4 years ago
parent
commit
0005698f63
  1. 5
      src/base/layer/layer.popup.js

5
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;
},

Loading…
Cancel
Save