Browse Source

Pull request #1975: JSY-7441 refactor:datetime.combo支持高度调整

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

* commit '16df548a4cb6b348702a3f7b0101be660a069e15':
  JSY-7441 refactor:datetime.combo支持高度调整
es6
Guyi 4 years ago
parent
commit
6e26ae6986
  1. 5
      src/widget/datetime/datetime.combo.js

5
src/widget/datetime/datetime.combo.js

@ -31,6 +31,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
};
this.trigger = BI.createWidget({
type: "bi.date_time_trigger",
height: opts.height,
min: opts.minDate,
max: opts.maxDate,
value: opts.value
@ -82,8 +83,8 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
var triggerBtn = BI.createWidget({
type: "bi.icon_button",
cls: "bi-trigger-icon-button date-font",
width: 24,
height: 24
width: opts.height,
height: opts.height,
});
triggerBtn.on(BI.IconButton.EVENT_CHANGE, function () {
if (self.combo.isViewVisible()) {

Loading…
Cancel
Save