guy 3 years ago
parent
commit
ef2d86391a
  1. 16
      src/case/trigger/trigger.text.js

16
src/case/trigger/trigger.text.js

@ -6,9 +6,6 @@
* @extends BI.Trigger
*/
BI.TextTrigger = BI.inherit(BI.Trigger, {
_const: {
hgap: 6
},
_defaultConfig: function () {
var self = this;
@ -16,6 +13,12 @@ BI.TextTrigger = BI.inherit(BI.Trigger, {
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-text-trigger",
height: 24,
textHgap: 6,
textVgap: 0,
textLgap: 0,
textRgap: 0,
textTgap: 0,
textBgap: 0,
textCls: "",
title: function () {
return self.text.getText();
@ -34,7 +37,12 @@ BI.TextTrigger = BI.inherit(BI.Trigger, {
text: o.text,
tipType: o.tipType,
warningTitle: o.warningTitle,
hgap: c.hgap,
hgap: o.textHgap,
vgap: o.textVgap,
lgap: o.textLgap,
rgap: o.textRgap,
tgap: o.textTgap,
bgap: o.textBgap,
readonly: o.readonly
});
this.trigerButton = BI.createWidget({

Loading…
Cancel
Save