Browse Source

Merge pull request #752 in VISUAL/fineui from ~TELLER/fineui:feature-5.1/feature to master

* commit '1327a0cf2145e42f804457c6820eaeeae446597c':
  BI-34245
es6
Teller 6 years ago
parent
commit
26ef374498
  1. 7
      src/widget/timeinterval/dateinterval.js
  2. 7
      src/widget/timeinterval/timeinterval.js

7
src/widget/timeinterval/dateinterval.js

@ -6,7 +6,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
height: 24,
width: 24,
lgap: 15,
offset: -15,
offset: 0,
timeErrorCls: "time-error",
DATE_MIN_VALUE: "1900-01-01",
DATE_MAX_VALUE: "2099-12-31"
@ -33,14 +33,13 @@ BI.DateInterval = BI.inherit(BI.Single, {
BI.createWidget({
element: self,
type: "bi.center",
hgap: 10,
height: this.constants.height,
items: [{
type: "bi.absolute",
items: [{
el: self.left,
left: this.constants.offset,
right: 0,
right: this.constants.width / 2,
top: 0,
bottom: 0
}]
@ -48,7 +47,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
type: "bi.absolute",
items: [{
el: self.right,
left: 0,
left: this.constants.width / 2,
right: this.constants.offset,
top: 0,
bottom: 0

7
src/widget/timeinterval/timeinterval.js

@ -6,7 +6,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
height: 24,
width: 24,
lgap: 15,
offset: -15,
offset: 0,
timeErrorCls: "time-error",
DATE_MIN_VALUE: "1900-01-01",
DATE_MAX_VALUE: "2099-12-31"
@ -33,14 +33,13 @@ BI.TimeInterval = BI.inherit(BI.Single, {
BI.createWidget({
element: self,
type: "bi.center",
hgap: 10,
height: this.constants.height,
items: [{
type: "bi.absolute",
items: [{
el: self.left,
left: this.constants.offset,
right: 0,
right: this.constants.width / 2,
top: 0,
bottom: 0
}]
@ -48,7 +47,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
type: "bi.absolute",
items: [{
el: self.right,
left: 0,
left: this.constants.width / 2,
right: this.constants.offset,
top: 0,
bottom: 0

Loading…
Cancel
Save