Browse Source

无JIRA 去掉无意义的scrolly

es6
zsmj 3 years ago
parent
commit
eadbe4ec2d
  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,7 +159,6 @@ 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-htape",
baseCls: "bi-auto-vtape",
horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
hgap: 0,

Loading…
Cancel
Save