diff --git a/src/widget/time/time.combo.js b/src/widget/time/time.combo.js index 30c40e0ab..a215cf0f2 100644 --- a/src/widget/time/time.combo.js +++ b/src/widget/time/time.combo.js @@ -62,11 +62,12 @@ return { type: "bi.htape", items: [{ - type: "bi.absolute", + type: "bi.horizontal_fill", + cls: "bi-border bi-border-radius", + columnSize: ["fill", this.constants.iconWidth], items: [{ el: { type: "bi.combo", - cls: "bi-border bi-border-radius", container: opts.container, toggle: false, isNeedAdjustHeight: opts.isNeedAdjustHeight, @@ -170,16 +171,12 @@ self.combo = _ref; } }, - top: 0, - left: 0, - right: 0, - bottom: 0 }, { el: { type: "bi.icon_button", - cls: "bi-trigger-icon-button time-font icon-size-16", + cls: "bi-trigger-icon-button time-font", width: this.constants.iconWidth, - height: opts.height, + height: opts.height - 2, listeners: [{ eventName: BI.IconButton.EVENT_CHANGE, action: function () { @@ -194,8 +191,6 @@ self.triggerBtn = _ref; } }, - top: 0, - right: 0 }] }] };