|
|
|
@ -76,7 +76,7 @@
|
|
|
|
|
type: "bi.center_adapt", |
|
|
|
|
horizontalAlign: o.textAlign, |
|
|
|
|
element: this, |
|
|
|
|
ref(ref) { |
|
|
|
|
ref: (ref) => { |
|
|
|
|
self.containerRef = ref; |
|
|
|
|
}, |
|
|
|
|
hgap: o.hgap, |
|
|
|
@ -167,7 +167,7 @@
|
|
|
|
|
tgap: o.iconPosition === "top" ? o.iconGap : 0, |
|
|
|
|
bgap: o.iconPosition === "bottom" ? o.iconGap : 0, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var items = [this.icon, BI.extend({ el: this.text }, gapContainer)]; |
|
|
|
|
if (o.iconPosition === "right" || o.iconPosition === "bottom") { |
|
|
|
|
items.reverse(); |
|
|
|
|