Browse Source

高度调整

es6
windy 6 years ago
parent
commit
1c2cac1a6b
  1. 2
      src/widget/datetime/datetime.combo.js
  2. 4
      src/widget/datetime/datetime.popup.js
  3. 4
      src/widget/dynamicdate/dynamicdate.popup.js
  4. 4
      src/widget/dynamicdatetime/dynamicdatetime.popup.js
  5. 4
      src/widget/month/popup.month.js
  6. 2
      src/widget/quarter/popup.quarter.js
  7. 2
      src/widget/yearmonth/popup.yearmonth.js
  8. 2
      src/widget/yearquarter/popup.yearquarter.js

2
src/widget/datetime/datetime.combo.js

@ -4,7 +4,7 @@
BI.DateTimeCombo = BI.inherit(BI.Single, { BI.DateTimeCombo = BI.inherit(BI.Single, {
constants: { constants: {
popupHeight: 290, popupHeight: 290,
popupWidth: 270, popupWidth: 310,
comboAdjustHeight: 1, comboAdjustHeight: 1,
border: 1 border: 1
}, },

4
src/widget/datetime/datetime.popup.js

@ -5,8 +5,8 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.DateTimePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-time-popup", baseCls: "bi-date-time-popup",
width: 268, width: 310,
height: 374 height: 410
}); });
}, },
_init: function () { _init: function () {

4
src/widget/dynamicdate/dynamicdate.popup.js

@ -6,8 +6,8 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-dynamic-date-popup", baseCls: "bi-dynamic-date-popup",
width: 248, width: 290,
height: 344 height: 380
}, },
_init: function () { _init: function () {

4
src/widget/dynamicdatetime/dynamicdatetime.popup.js

@ -6,8 +6,8 @@ BI.DynamicDateTimePopup = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-dynamic-date-time-popup", baseCls: "bi-dynamic-date-time-popup",
width: 248, width: 290,
height: 385 height: 421
}, },
_init: function () { _init: function () {

4
src/widget/month/popup.month.js

@ -36,7 +36,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap", whiteSpace: "nowrap",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 23, height: 30,
width: 38, width: 38,
value: td, value: td,
text: td text: td
@ -55,7 +55,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
columns: 2, columns: 2,
rows: 6, rows: 6,
columnSize: [1 / 2, 1 / 2], columnSize: [1 / 2, 1 / 2],
rowSize: 25 rowSize: 30
})), { })), {
type: "bi.center_adapt", type: "bi.center_adapt",
vgap: 1, vgap: 1,

2
src/widget/quarter/popup.quarter.js

@ -39,7 +39,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, {
whiteSpace: "nowrap", whiteSpace: "nowrap",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 25 height: 30
}); });
}); });

2
src/widget/yearmonth/popup.yearmonth.js

@ -17,7 +17,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期, max: "2099-12-31", // 最大日期,
width: 180, width: 180,
height: 276 height: 270
}, },
render: function () { render: function () {

2
src/widget/yearquarter/popup.yearquarter.js

@ -10,7 +10,7 @@ BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, {
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期, max: "2099-12-31", // 最大日期,
width: 180, width: 180,
height: 276 height: 260
}, },
render: function () { render: function () {

Loading…
Cancel
Save