You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2007/03/29 03:12:04 UTC

svn commit: r523540 - /incubator/xap/trunk/codebase/src/xap/bridges/dojo/HorizontalSplitPaneBridge.js

Author: mturyn
Date: Wed Mar 28 20:12:04 2007
New Revision: 523540

URL: http://svn.apache.org/viewvc?view=rev&rev=523540
Log:
Added a variable that makes this bridge's behaviour different from the VerticalSplitPaneBridge.

Both need to distinguish their first child (left or top), but a VerticalSplitPaneBridge instance looks at relative values of its two children's domNode.offSetTop, in this horizontal case we care about their "offsetLeft" values.  

Modified:
    incubator/xap/trunk/codebase/src/xap/bridges/dojo/HorizontalSplitPaneBridge.js

Modified: incubator/xap/trunk/codebase/src/xap/bridges/dojo/HorizontalSplitPaneBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/dojo/HorizontalSplitPaneBridge.js?view=diff&rev=523540&r1=523539&r2=523540
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/dojo/HorizontalSplitPaneBridge.js (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/dojo/HorizontalSplitPaneBridge.js Wed Mar 28 20:12:04 2007
@@ -49,3 +49,6 @@
 	propertyMap.orientation = "horizontal";
 }
 
+
+xap.bridges.dojo.HorizontalSplitPaneBridge.prototype.offsetType = "offsetLeft" ;
+