guy 4 years ago
parent
commit
9042d09760
  1. 2
      src/core/wrapper/layout/flex/flex.center.js
  2. 3
      src/core/wrapper/layout/flex/flex.horizontal.center.js
  3. 3
      src/core/wrapper/layout/flex/flex.vertical.center.js
  4. 2
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js
  5. 3
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.center.js
  6. 3
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js

2
src/core/wrapper/layout/flex/flex.center.js

@ -28,6 +28,8 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,

3
src/core/wrapper/layout/flex/flex.horizontal.center.js

@ -28,6 +28,7 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -53,4 +54,4 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
}
});
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);

3
src/core/wrapper/layout/flex/flex.vertical.center.js

@ -30,6 +30,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -54,4 +55,4 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
}
});
BI.shortcut("bi.flex_vertical_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);

2
src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js

@ -31,6 +31,8 @@ BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
},
horizontalAlign: o.horizontalAlign,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,

3
src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.center.js

@ -30,6 +30,7 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
},
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
@ -51,4 +52,4 @@ BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
}
});
BI.shortcut("bi.flex_scrollable_horizontal_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);
BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizontalCenter);

3
src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js

@ -31,6 +31,7 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: o.horizontalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize,
scrollx: o.scrollx,
scrolly: o.scrolly,
scrollable: o.scrollable,
@ -51,4 +52,4 @@ BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
}
});
BI.shortcut("bi.flex_scrollable_vertical_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);
BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCenter);

Loading…
Cancel
Save