|
|
|
@ -9,7 +9,8 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
SMALL: "small", |
|
|
|
|
NORMAL: "normal", |
|
|
|
|
BIG: "big" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
HEADER_HEIGHT: 40 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
@ -56,7 +57,7 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
items: [{ |
|
|
|
|
el: BI.isPlainObject(o.header) ? BI.createWidget(o.header) : { |
|
|
|
|
type: "bi.label", |
|
|
|
|
height: 36, |
|
|
|
|
height: this._constant.HEADER_HEIGHT, |
|
|
|
|
text: o.header, |
|
|
|
|
title: o.header, |
|
|
|
|
textAlign: "left" |
|
|
|
@ -72,7 +73,7 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
el: { |
|
|
|
|
type: "bi.icon_button", |
|
|
|
|
cls: "bi-message-close close-font", |
|
|
|
|
height: 36, |
|
|
|
|
height: this._constant.HEADER_HEIGHT, |
|
|
|
|
handler: function () { |
|
|
|
|
self.close(); |
|
|
|
|
} |
|
|
|
@ -81,7 +82,7 @@ BI.Popover = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
height: 36 |
|
|
|
|
height: this._constant.HEADER_HEIGHT |
|
|
|
|
}, |
|
|
|
|
center: { |
|
|
|
|
el: { |
|
|
|
|