From b31fce388f63f7798d682c5e7bbe5e267f43a83e Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 14 Aug 2018 14:11:58 +0800 Subject: [PATCH] BI-29937 && BI-29725 --- src/widget/date/calendar/picker.year.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/widget/date/calendar/picker.year.js b/src/widget/date/calendar/picker.year.js index 2fb62d79d..56d0a0baf 100644 --- a/src/widget/date/calendar/picker.year.js +++ b/src/widget/date/calendar/picker.year.js @@ -68,7 +68,15 @@ BI.YearPicker = BI.inherit(BI.Widget, { width: 25 }, { type: "bi.center_adapt", - items: [this.year] + items: [{ + el: { + type: "bi.horizontal", + width: 45, + items: [{ + el: this.year + }] + } + }] }, { el: { type: "bi.center_adapt",