Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1670/source/script/gui
Modified Files:
Tag: renderer
QxWidget.js
Log Message:
Changed default value for margin/padding to null
Index: QxWidget.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxWidget.js,v
retrieving revision 1.1.2.53
retrieving revision 1.1.2.54
diff -u -d -r1.1.2.53 -r1.1.2.54
--- QxWidget.js 25 Jan 2006 08:25:38 -0000 1.1.2.53
+++ QxWidget.js 25 Jan 2006 08:56:36 -0000 1.1.2.54
@@ -354,15 +354,15 @@
---------------------------------------------------------------------------
*/
-QxWidget.addProperty({ name : "marginTop", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "marginY" });
-QxWidget.addProperty({ name : "marginRight", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "marginX" });
-QxWidget.addProperty({ name : "marginBottom", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "marginY" });
-QxWidget.addProperty({ name : "marginLeft", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "marginX" });
+QxWidget.addProperty({ name : "marginTop", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "marginY" });
+QxWidget.addProperty({ name : "marginRight", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "marginX" });
+QxWidget.addProperty({ name : "marginBottom", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "marginY" });
+QxWidget.addProperty({ name : "marginLeft", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "marginX" });
-QxWidget.addProperty({ name : "paddingTop", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "paddingY" });
-QxWidget.addProperty({ name : "paddingRight", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "paddingX" });
-QxWidget.addProperty({ name : "paddingBottom", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "paddingY" });
-QxWidget.addProperty({ name : "paddingLeft", type : QxConst.TYPEOF_NUMBER, addToQueue : true, defaultValue : 0, impl : "paddingX" });
+QxWidget.addProperty({ name : "paddingTop", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "paddingY" });
+QxWidget.addProperty({ name : "paddingRight", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "paddingX" });
+QxWidget.addProperty({ name : "paddingBottom", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "paddingY" });
+QxWidget.addProperty({ name : "paddingLeft", type : QxConst.TYPEOF_NUMBER, addToQueue : true, impl : "paddingX" });
@@ -3616,8 +3616,6 @@
return true;
};
- // this.debug("ModifyFocused: " + propValue);
-
var vFocusRoot = this.getFocusRoot();
if (propValue)
|