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 2007/06/07 18:55:22 UTC

svn commit: r545268 - in /incubator/xap/trunk/codebase: css/xapDefault.css src/xap/widgets/dojo/TreeTable.js

Author: mturyn
Date: Thu Jun  7 11:55:21 2007
New Revision: 545268

URL: http://svn.apache.org/viewvc?view=rev&rev=545268
Log:
Further rollbacks of table and tree; includes style rollbacks
From: Rob Gagne

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=545268&r1=545267&r2=545268
==============================================================================
--- incubator/xap/trunk/codebase/css/xapDefault.css (original)
+++ incubator/xap/trunk/codebase/css/xapDefault.css Thu Jun  7 11:55:21 2007
@@ -213,13 +213,8 @@
 	background-image: url(./xap_header.gif);
 	background-position: bottom left;
 	background-repeat: repeat-x;
-	overflow:hidden;
 }
 
-.xapHeaderTable{
-	border-right: 1px solid #999 ;	
-}	
-
 .xapHeaderMouseOver{
 	background-image: url(./xap_header_hover.gif);
 }
@@ -244,52 +239,8 @@
 }
 
 .xapHeaderWrapper{
-	border-left: 1px solid #999;	
-}
-
-.xapHeaderContents{
-	overflow:hidden;
-}
-/* TABLE COLUMNS SIZERS: */
-
-.xapTableStationarySizers {
-	cursor: move;
-	cursor: w-resize;
-	width: 0px ;
-	/* Can't set it to "transparent" because
-	   that removes selectability under IE7;
-	   Instead, apply it in code to IE6, 
-	   which is the only place it's needed;
-	   the opacity/filter stuff works fine
-	   in Firefox and IE7.
-	Now:  don't even want to make it transparent,
-	we're seeing the (now thin) sizers:
-	*/
-	
-	#background-color: darkcyan ;
-	background-color: #999 ;
-	border-right:0px solid white;
-	border-left: 0px  solid white;
-	-moz-opacity: 0.91;
-	opacity: 0.91;
-	filter: alpha(opacity=1);
+	border-right: 1px solid #999;	
 }
-
-.xapTableMovingSizer {
-	width:0px ;				
-	font-size: 0px;
-	cursor: move;
-	cursor: w-resize;
-	background-color: transparent ;
-	border: 0px ;
-	border-right:1px solid black;
-	-moz-opacity: 0.8;
-	opacity: 0.8;
-	filter: Alpha(Opacity=80);
-	margin: 0;	
-}
-
-
 
 /* TABLE */
 

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=545268&r1=545267&r2=545268
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js Thu Jun  7 11:55:21 2007
@@ -814,7 +814,7 @@
 			dojo.html.removeClass(this._indentSpan, this._imageClass);
 		}
 		if (this._rows.length==0){
-			newClass = "ImgNodeNoChildren";
+			newClass = ""; // eventually add a class here to fix the indenting
 		}
 		else if (this._expanded){
 			newClass = "ImgNodeExpanded";
@@ -829,7 +829,7 @@
 	setDepth : function( depth ){
 		this._depth = depth;
 		if (this._indentSpan){
-			this._indentSpan.style.marginLeft = (depth*10)+"px";		
+			this._indentSpan.style.marginLeft = (depth*12)+"px";		
 		}
 	},