Browse Source

feature: scrollable支持xy

es6
guy 3 years ago
parent
commit
ae1ec228f9
  1. 8
      src/core/wrapper/layout.js

8
src/core/wrapper/layout.js

@ -64,22 +64,22 @@ BI.Layout = BI.inherit(BI.Widget, {
case true:
case "xy":
this.element.css("overflow", "auto");
break;
return;
case false:
this.element.css("overflow", "hidden");
break;
return;
case "x":
this.element.css({
"overflow-x": "auto",
"overflow-y": "hidden"
});
break;
return;
case "y":
this.element.css({
"overflow-x": "hidden",
"overflow-y": "auto"
});
break;
return;
default :
break;
}

Loading…
Cancel
Save