Browse Source

Pull request #2737: 无JIRA任务 默认值还是用51x的小间距

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'ebae04216eed20e9456840e612c2dfae45d25008':
  bugfix:默认值还是用51x的小间距
  bugfix:默认值还是用51x的小间距
es6
guy 3 years ago
parent
commit
6dbf1f23c5
  1. 5
      src/base/single/tip/tip.toast.js
  2. 12
      src/case/combo/bubblecombo/popup.bubble.js

5
src/base/single/tip/tip.toast.js

@ -20,7 +20,8 @@ BI.Toast = BI.inherit(BI.Tip, {
text: "",
level: "success", // success或warning
autoClose: true,
closable: null
closable: null,
vgap: 7,
});
},
@ -102,7 +103,7 @@ BI.Toast = BI.inherit(BI.Tip, {
horizontalAlign: BI.HorizontalAlign.Stretch,
element: this,
items: items,
vgap: 12,
vgap: o.vgap,
columnSize: columnSize
});
},

12
src/case/combo/bubblecombo/popup.bubble.js

@ -48,8 +48,8 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, {
if (BI.isWidget(buttonOpt)) {
items.push({
el: buttonOpt,
lgap: i === 0 ? 20 : 15,
rgap: i === o.buttons.length - 1 ? 20 : 0
lgap: i === 0 ? 15 : 10,
rgap: i === o.buttons.length - 1 ? 15 : 0
});
} else {
items.push({
@ -60,14 +60,14 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, {
self.fireEvent(BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON, v);
}
}, buttonOpt),
lgap: i === 0 ? 20 : 15,
rgap: i === o.buttons.length - 1 ? 20 : 0
lgap: i === 0 ? 15 : 10,
rgap: i === o.buttons.length - 1 ? 15 : 0
});
}
});
return BI.createWidget({
type: "bi.right_vertical_adapt",
height: 54,
height: 44,
items: items
});
},
@ -90,7 +90,7 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, {
}]
});
button.element.css("min-height", o.minHeight - 54);
button.element.css("min-height", o.minHeight - 44);
return button;
}

Loading…
Cancel
Save