|
|
@ -6,7 +6,7 @@ |
|
|
|
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { |
|
|
|
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-text-value-check-combo bi-border bi-focus-shadow", |
|
|
|
baseCls: "bi-text-value-check-combo bi-border", |
|
|
|
width: 100, |
|
|
|
width: 100, |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, |
|
|
@ -17,6 +17,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, { |
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
o.height -= 2; |
|
|
|
o.height -= 2; |
|
|
|
|
|
|
|
BI.isNumeric(o.width) && (o.width -= 2); |
|
|
|
BI.TextValueCheckCombo.superclass._init.apply(this, arguments); |
|
|
|
BI.TextValueCheckCombo.superclass._init.apply(this, arguments); |
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
this.trigger = BI.createWidget({ |
|
|
|
type: "bi.select_text_trigger", |
|
|
|
type: "bi.select_text_trigger", |
|
|
|