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/09/12 18:27:36 UTC

svn commit: r442667 - /incubator/xap/trunk/src/xap/widgets/Label.js

Author: mturyn
Date: Tue Sep 12 11:27:36 2006
New Revision: 442667

URL: http://svn.apache.org/viewvc?view=rev&rev=442667
Log:
Backed out of change making positions absolute rather than relative---screws up examples.

Modified:
    incubator/xap/trunk/src/xap/widgets/Label.js

Modified: incubator/xap/trunk/src/xap/widgets/Label.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/Label.js?view=diff&rev=442667&r1=442666&r2=442667
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/Label.js (original)
+++ incubator/xap/trunk/src/xap/widgets/Label.js Tue Sep 12 11:27:36 2006
@@ -42,7 +42,6 @@
 	var tbody = document.createElement('tbody');
 	var tr = document.createElement('tr');
 	
-	this.tbody=tbody ;
 
 	this.table.appendChild(tbody);
 	tbody.appendChild(tr);
@@ -61,7 +60,7 @@
 	xap.widgets.styleSet(this.table, {backgroundColor: '#eee', width:'100%', height: '100%'});	/* to remove */
 	xap.widgets.styleSet(this.td, {backgroundColor: '#eef', width:'100%', height: '100%'});	/* to remove */	
 	
-	xap.widgets.styleSet(this._rootDomNode, {overflow:'hidden', position:'absolute', backgroundColor:'gray'}); /* to remove? */
+	xap.widgets.styleSet(this._rootDomNode, {overflow:'hidden', position:'relative', backgroundColor:'gray'}); /* to remove */
 
 }
 
@@ -159,6 +158,3 @@
 		}
 	}
 }
-
-
-