Browse Source

Revert "无JIRA 去掉无意义的scrolly"

This reverts commit eadbe4ec2d.
es6
zsmj 3 years ago
parent
commit
624c64e8ae
  1. 1
      src/core/platform/web/config.js
  2. 2
      src/core/wrapper/layout/fill/auto.vtape.js

1
src/core/platform/web/config.js

@ -159,6 +159,7 @@ BI.prepares.push(function () {
return BI.extend({ return BI.extend({
horizontalAlign: BI.HorizontalAlign.Stretch, horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch, verticalAlign: BI.VerticalAlign.Stretch,
scrolly: false
}, ob, {type: "bi.flex_vertical"}); }, ob, {type: "bi.flex_vertical"});
} }
if (ob.scrollable === true || ob.scrollx === true || ob.scrolly === true) { if (ob.scrollable === true || ob.scrollx === true || ob.scrolly === true) {

2
src/core/wrapper/layout/fill/auto.vtape.js

@ -1,7 +1,7 @@
BI.AutoVerticalTapeLayout = BI.inherit(BI.Layout, { BI.AutoVerticalTapeLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.AutoVerticalTapeLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.AutoVerticalTapeLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-auto-vtape", baseCls: "bi-auto-htape",
horizontalAlign: BI.HorizontalAlign.Stretch, horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch, verticalAlign: BI.VerticalAlign.Stretch,
hgap: 0, hgap: 0,

Loading…
Cancel
Save