Skip to content

Commit

Permalink
Changed "getTargetSize" function calls to "getLayoutTargetSize" call
Browse files Browse the repository at this point in the history
  • Loading branch information
hafanah committed Oct 19, 2011
1 parent 2b4a8cd commit 390bcaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extjs_rtl.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ext.override(Ext.layout.HBoxLayout,{
Ext.layout.HBoxLayout.superclass.onLayout.call(this, ct, target);

var cs = ct.items.items, len = cs.length, c, i, last = len-1, cm;
var size = this.getTargetSize(target);
var size = this.getLayoutTargetSize(target);

var w = size.width - target.getPadding('lr') - this.scrollOffset,
h = size.height - target.getPadding('tb'),
Expand Down Expand Up @@ -120,7 +120,7 @@ Ext.override(Ext.layout.VBoxLayout, {
Ext.layout.VBoxLayout.superclass.onLayout.call(this, ct, target);

var cs = ct.items.items, len = cs.length, c, i, last = len-1, cm;
var size = this.getTargetSize(target);
var size = this..getLayoutTargetSize(target);

var w = size.width - target.getPadding('lr') - this.scrollOffset,
h = size.height - target.getPadding('tb'),
Expand Down

0 comments on commit 390bcaa

Please sign in to comment.