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 jm...@apache.org on 2007/07/07 01:48:21 UTC
svn commit: r554112 -
/incubator/xap/trunk/codebase/src/xap/bridges/dojo/DojoWidgetBridge.js
Author: jmargaris
Date: Fri Jul 6 18:48:21 2007
New Revision: 554112
URL: http://svn.apache.org/viewvc?view=rev&rev=554112
Log:
now calling superclass to do sizing work
Modified:
incubator/xap/trunk/codebase/src/xap/bridges/dojo/DojoWidgetBridge.js
Modified: incubator/xap/trunk/codebase/src/xap/bridges/dojo/DojoWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/dojo/DojoWidgetBridge.js?view=diff&rev=554112&r1=554111&r2=554112
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/dojo/DojoWidgetBridge.js (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/dojo/DojoWidgetBridge.js Fri Jul 6 18:48:21 2007
@@ -301,7 +301,8 @@
* after setting the width.
*/
xap.bridges.dojo.DojoWidgetBridge.prototype.setWidthAttribute = function(value){
- this.getRootDomNode().style.width = value ;
+ xap.bridges.basic.AbstractWidgetBridge.prototype.setWidthAttribute.call(this,value);
+
if (this.getPeer().onResized){
this.getPeer().onResized();
}
@@ -312,7 +313,8 @@
* after setting the height.
*/
xap.bridges.dojo.DojoWidgetBridge.prototype.setHeightAttribute = function(value){
- this.getRootDomNode().style.height = value ;
+ xap.bridges.basic.AbstractWidgetBridge.prototype.setHeightAttribute.call(this,value);
+
if (this.getPeer().onResized){
this.getPeer().onResized();
}