incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r473225 - /incubator/xap/trunk/src/xap/widgets/Label.js
Date Fri, 10 Nov 2006 07:30:50 GMT
Author: jmargaris
Date: Thu Nov  9 23:30:50 2006
New Revision: 473225

URL: http://svn.apache.org/viewvc?view=rev&rev=473225
Log:
Fix for checkbox image/text not lining up 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=473225&r1=473224&r2=473225
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/Label.js (original)
+++ incubator/xap/trunk/src/xap/widgets/Label.js Thu Nov  9 23:30:50 2006
@@ -46,10 +46,10 @@
 	this.table.appendChild(tbody);
 	tbody.appendChild(tr);
 	tr.appendChild(this.td);
-
 	this.span = document.createElement("span");
+	this.span.style.verticalAlign="middle";
 	this.img = document.createElement("img");
-	this.img.align="middle";
+	this.img.style.verticalAlign="middle";
 	this.img.style.display = "none";
 
 	this.td.appendChild(this.img);



Mime
View raw message