incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r544721 - in /incubator/xap/trunk/codebase: css/xapDefault.css src/xap/widgets/dojo/TreeTable.js
Date Wed, 06 Jun 2007 04:09:52 GMT
Author: mturyn
Date: Tue Jun  5 21:09:51 2007
New Revision: 544721

URL: http://svn.apache.org/viewvc?view=rev&rev=544721
Log:
Added a class style for tree nodes that do not have children. 

From: rgagne

Modified:
    incubator/xap/trunk/codebase/css/xapDefault.css
    incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js

Modified: incubator/xap/trunk/codebase/css/xapDefault.css
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/css/xapDefault.css?view=diff&rev=544721&r1=544720&r2=544721
==============================================================================
--- incubator/xap/trunk/codebase/css/xapDefault.css (original)
+++ incubator/xap/trunk/codebase/css/xapDefault.css Tue Jun  5 21:09:51 2007
@@ -358,6 +358,14 @@
 	cursor: pointer;
 }
 
+.ImgNodeNoChildren {
+	background-image: url(tree_nochildren.gif);
+	background-repeat: no-repeat;
+	background-position: center center;
+	padding-left: 5px;
+	padding-right: 5px;
+}	
+
 .tableCell{
 	font-size: 8pt;
 	padding-top: 3px;

Modified: incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js?view=diff&rev=544721&r1=544720&r2=544721
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js Tue Jun  5 21:09:51 2007
@@ -814,7 +814,7 @@
 			dojo.html.removeClass(this._indentSpan, this._imageClass);
 		}
 		if (this._rows.length==0){
-			newClass = "";
+			newClass = "ImgNodeNoChildren";
 		}
 		else if (this._expanded){
 			newClass = "ImgNodeExpanded";



Mime
View raw message