Browse Source

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

This reverts commit eadbe4ec2d.
es6
zsmj 2 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({
horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
scrolly: false
}, ob, {type: "bi.flex_vertical"});
}
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, {
props: function () {
return BI.extend(BI.AutoVerticalTapeLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-auto-vtape",
baseCls: "bi-auto-htape",
horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
hgap: 0,

Loading…
Cancel
Save