incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r449001 - /incubator/xap/trunk/src/xap/widgets/Label.js
Date Fri, 22 Sep 2006 17:05:17 GMT
Author: jmargaris
Date: Fri Sep 22 10:05:17 2006
New Revision: 449001

URL: http://svn.apache.org/viewvc?view=rev&rev=449001
Log:
fixed cell padding/spacing

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=449001&r1=449000&r2=449001
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/Label.js (original)
+++ incubator/xap/trunk/src/xap/widgets/Label.js Fri Sep 22 10:05:17 2006
@@ -36,12 +36,15 @@
 	xap.widgets.BaseWidget.call(this);
 	
 	this.table = document.createElement('table');
+	this.table.cellPadding = "0px";
+	this.table.cellSpacing = "0px";
 	this.td = document.createElement('td');
 	this.br = document.createElement('br');
 	
 	var tbody = document.createElement('tbody');
 	var tr = document.createElement('tr');
 	
+	
 
 	this.table.appendChild(tbody);
 	tbody.appendChild(tr);
@@ -56,6 +59,7 @@
 	this.td.appendChild(this.img);
 	
 	this._rootDomNode.appendChild(this.table);
+	this._rootDomNode.style.padding="2px";
 	
 	xap.widgets.styleSet(this.table, {width:'100%', height: '100%'});
 	xap.widgets.styleSet(this.td, {width:'100%', height: '100%'});



Mime
View raw message