|
|
@ -18,6 +18,7 @@ BI.PopupView = BI.inherit(BI.Widget, { |
|
|
|
vgap: 0, |
|
|
|
vgap: 0, |
|
|
|
hgap: 0, |
|
|
|
hgap: 0, |
|
|
|
innerVGap: 0, |
|
|
|
innerVGap: 0, |
|
|
|
|
|
|
|
innerHGap: 0, |
|
|
|
direction: BI.Direction.Top, // 工具栏的方向
|
|
|
|
direction: BI.Direction.Top, // 工具栏的方向
|
|
|
|
stopEvent: false, // 是否停止mousedown、mouseup事件
|
|
|
|
stopEvent: false, // 是否停止mousedown、mouseup事件
|
|
|
|
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
|
|
|
|
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
|
|
|
@ -98,7 +99,9 @@ BI.PopupView = BI.inherit(BI.Widget, { |
|
|
|
this.button_group.element.css({ |
|
|
|
this.button_group.element.css({ |
|
|
|
"min-height": BI.isNumeric(o.minHeight) ? (o.minHeight / BI.pixRatio + BI.pixUnit) : o.minHeight, |
|
|
|
"min-height": BI.isNumeric(o.minHeight) ? (o.minHeight / BI.pixRatio + BI.pixUnit) : o.minHeight, |
|
|
|
"padding-top": o.innerVGap / BI.pixRatio + BI.pixUnit, |
|
|
|
"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; |
|
|
|
return this.button_group; |
|
|
|
}, |
|
|
|
}, |
|
|
|