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 2006/06/30 05:10:47 UTC

svn commit: r418179 - /incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js

Author: mturyn
Date: Thu Jun 29 22:10:47 2006
New Revision: 418179

URL: http://svn.apache.org/viewvc?rev=418179&view=rev
Log:
Fixed typo ("conatainer") and removed kruft from width/height/x/y methods.  Positioning is still faulty; it might be that there's a bounding-box we should operate on.

Modified:
    incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js?rev=418179&r1=418178&r2=418179&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js Thu Jun 29 22:10:47 2006
@@ -144,20 +144,15 @@
 		shouldResize = true ; ;		
 	}
 	else if (name=="y") {
-		//peer.setLocation( null, value );
 		peer.domNode.style.top = value ;
 		shouldResize = true ; ;
 	}
 	else if (name=="width") {
-		//peer.setSize( value, null );
-		//peer.setWidth(value) ;
-		peer.containerNode.style.width=value ;			
+		peer.domNode.style.width=value ;			
 		shouldResize = true ; ;
 	}
 	else if ( name=="height"){
-		//peer.setSize( null, value );
-		//peer.setHeight(value) ;		
-		peer.containerNode.style.height=value ;		
+		peer.domNode.style.height=value ;		
 		shouldResize = true ; ;
 	}
 	else if (name=="cursor"){
@@ -208,7 +203,7 @@
 	}
     else if ( name=="position" ){
         peer.domNode.style.position=value;
-        peer.conatainerNode.style.position=value;
+        peer.containerNode.style.position=value;
     }
     else if ( name=="textAlign" ){
         peer.domNode.style.textAlign=value;