diff --git a/src/widget/datetime/datetime.combo.js b/src/widget/datetime/datetime.combo.js index 600a28242e..81224c0210 100644 --- a/src/widget/datetime/datetime.combo.js +++ b/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()) {