incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r442345 - /incubator/xap/trunk/src/xap/widgets/Label.js
Date Mon, 11 Sep 2006 20:47:16 GMT
Author: mturyn
Date: Mon Sep 11 13:47:16 2006
New Revision: 442345

URL: http://svn.apache.org/viewvc?view=rev&rev=442345
Log:
Altered positioning style for enclosing DIV so we can set widget top and left correctly.

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=442345&r1=442344&r2=442345
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/Label.js (original)
+++ incubator/xap/trunk/src/xap/widgets/Label.js Mon Sep 11 13:47:16 2006
@@ -42,6 +42,7 @@
 	var tbody = document.createElement('tbody');
 	var tr = document.createElement('tr');
 	
+	this.tbody=tbody ;
 
 	this.table.appendChild(tbody);
 	tbody.appendChild(tr);
@@ -60,7 +61,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:'relative', backgroundColor:'gray'});
/* to remove */
+	xap.widgets.styleSet(this._rootDomNode, {overflow:'hidden', position:'absolute', backgroundColor:'gray'});
/* to remove? */
 
 }
 
@@ -158,3 +159,6 @@
 		}
 	}
 }
+
+
+



Mime
View raw message