|
|
|
@ -3698,6 +3698,7 @@ BI.Arrangement = BI.inherit(BI.Widget, {
|
|
|
|
|
var occupied = this._applyContainer(); |
|
|
|
|
switch (this.getLayoutType()) { |
|
|
|
|
case BI.Arrangement.LAYOUT_TYPE.ADAPTIVE: |
|
|
|
|
case BI.Arrangement.LAYOUT_TYPE.FREE: |
|
|
|
|
if (this._isArrangeFine()) { |
|
|
|
|
var width = this.getClientWidth(); |
|
|
|
|
var xRatio = (ratio.x || 1) * width / (occupied.left + occupied.width); |
|
|
|
@ -3718,8 +3719,6 @@ BI.Arrangement = BI.inherit(BI.Widget, {
|
|
|
|
|
this.relayout(); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case BI.Arrangement.LAYOUT_TYPE.FREE: |
|
|
|
|
break; |
|
|
|
|
case BI.Arrangement.LAYOUT_TYPE.GRID: |
|
|
|
|
if (this._isArrangeFine()) { |
|
|
|
|
var width = this.getClientWidth(); |
|
|
|
|