Browse Source

update

master
windy 4 years ago
parent
commit
a7f15e8c33
  1. 5
      src/core/wrapper/layout/adapt/float.horizontal.js
  2. 3
      src/core/wrapper/layout/flex/flex.horizontal.center.js

5
src/core/wrapper/layout/adapt/float.horizontal.js

@ -0,0 +1,5 @@
/**
* 浮动的水平居中布局
*/
BI.FloatHorizontalLayout = {};
BI.shortcut("bi.horizontal_float", BI.FloatHorizontalLayout);

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

@ -55,6 +55,3 @@ BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
});
BI.shortcut("bi.flex_horizontal_adapt", BI.FlexHorizontalCenter);
BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
// ts化兼容处理, bi.horizontal_float对应布局被删了
BI.FloatHorizontalLayout = { xtype: 'bi.horizontal_float' };

Loading…
Cancel
Save