Browse Source

BI-25579

master
windy 6 years ago
parent
commit
1b6e17ce72
  1. 2
      src/case/combo/iconcombo/combo.icon.js
  2. 4
      src/case/combo/iconcombo/trigger.iconcombo.js
  3. 5
      src/widget/downlist/popup.downlist.js
  4. 4
      src/widget/numberinterval/numberinterval.js

2
src/case/combo/iconcombo/combo.icon.js

@ -8,7 +8,7 @@ BI.IconCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.IconCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-combo", baseCls: "bi-icon-combo",
width: 28, width: 24,
height: 24, height: 24,
el: {}, el: {},
popup: {}, popup: {},

4
src/case/combo/iconcombo/trigger.iconcombo.js

@ -11,7 +11,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
el: {}, el: {},
items: [], items: [],
iconCls: "", iconCls: "",
width: 28, width: 24,
height: 24, height: 24,
isShowDown: true, isShowDown: true,
value: "" value: ""
@ -30,7 +30,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
cls: "icon-combo-trigger-icon", cls: "icon-combo-trigger-icon",
iconCls: iconCls, iconCls: iconCls,
disableSelected: true, disableSelected: true,
width: o.isShowDown ? o.width - 12 : o.width, width: o.isShowDown ? o.width - 2 : o.width,
height: o.height, height: o.height,
iconWidth: o.iconWidth, iconWidth: o.iconWidth,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,

5
src/widget/downlist/popup.downlist.js

@ -70,7 +70,8 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
BI.createWidget({ BI.createWidget({
type: "bi.vertical", type: "bi.vertical",
element: this, element: this,
items: [this.popup] items: [this.popup],
vgap: 5
}); });
}, },
@ -97,7 +98,6 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
item.el.height = self.constants.height; item.el.height = self.constants.height;
item.el.iconCls2 = self.constants.nextIcon; item.el.iconCls2 = self.constants.nextIcon;
item.popup = { item.popup = {
lgap: 4,
el: { el: {
type: "bi.button_tree", type: "bi.button_tree",
chooseType: 0, chooseType: 0,
@ -106,6 +106,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
}] }]
}, },
vgap: 5,
maxHeight: 378 maxHeight: 378
}; };
item.el.childValues = []; item.el.childValues = [];

4
src/widget/numberinterval/numberinterval.js

@ -11,7 +11,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
signalError: "signalBubble", signalError: "signalBubble",
editorWidth: 114, editorWidth: 114,
columns: 5, columns: 5,
width: 30, width: 24,
rows: 1, rows: 1,
numberErrorCls: "number-error", numberErrorCls: "number-error",
border: 1, border: 1,
@ -23,7 +23,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments); var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-number-interval", extraCls: "bi-number-interval",
height: 25, height: 24,
validation: "valid", validation: "valid",
closeMin: true closeMin: true
}); });

Loading…
Cancel
Save