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