guy 8 years ago
parent
commit
813f0d1451
  1. 3
      bi/widget.js
  2. 3
      docs/widget.js
  3. 3
      src/widget/arrangement/arrangement.js

3
bi/widget.js

@ -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();

3
docs/widget.js

@ -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();

3
src/widget/arrangement/arrangement.js

@ -2703,6 +2703,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);
@ -2723,8 +2724,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();

Loading…
Cancel
Save