@ -62,11 +62,24 @@ BI.Layout = BI.inherit(BI.Widget, {
_init4Scroll: function () {
switch (this.options.scrollable) {
case true:
case "xy":
this.element.css("overflow", "auto");
break;
case false:
this.element.css("overflow", "hidden");
case "x":
this.element.css({
"overflow-x": "auto",
"overflow-y": "hidden"
});
case "y":
"overflow-x": "hidden",
"overflow-y": "auto"
default :
}