portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags PortletTreeControlTag.java
Date Sun, 01 May 2005 19:26:31 GMT
jford       2005/05/01 12:26:31

  Modified:    taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags
                        PortletTreeControlTag.java
  Log:
  Still trying to fix display issues
  
  Revision  Changes    Path
  1.11      +5 -5      jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags/PortletTreeControlTag.java
  
  Index: PortletTreeControlTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags/PortletTreeControlTag.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PortletTreeControlTag.java	20 Apr 2005 04:04:02 -0000	1.10
  +++ PortletTreeControlTag.java	1 May 2005 19:26:31 -0000	1.11
  @@ -134,7 +134,7 @@
           }
           
           // Render the beginning of this node
  -        out.println("<div style=\"display:block; white-space:nowrap; vertical-align:
middle; margin:-3px;\">");
  +        out.println("<div style=\"display:block; white-space:nowrap; vertical-align:
middle; margin-top:-3px;\">");
   
           // Create the appropriate number of indents
           for (int i = 0; i < level; i++) {
  @@ -174,7 +174,7 @@
   //            ((HttpServletResponse) pageContext.getResponse()).
   //            encodeURL(updateTreeAction);
   
  -        out.print("<div style=\"display:inline; vertical-align: middle; padding:0; margin:0;\">");
  +        out.print("<div style=\"display:inline; vertical-align: middle; padding:0; margin-top:0px;\">");
           
   		//add an anchor so that we can return to this node
           out.print("<a name=\"");
  @@ -236,7 +236,7 @@
           }
   
           // Render the icon for this node (if any)
  -        out.print("<div style=\"display:inline; white-space:nowrap; vertical-align:
top; padding:0; margin:-2px;\">");
  +        out.print("<div style=\"display:inline; white-space:nowrap; vertical-align:
top; padding:0; margin-top:-2px;\">");
           
           if (node.getIcon() != null) {
               if (hyperlink != null) {
  @@ -257,7 +257,7 @@
                   */
                   out.print(">");
               }
  -            out.print("<div style=\"display:inline; white-space:nowrap; vertical-align:
middle; padding:0; margin:-2px;\">");
  +            out.print("<div style=\"display:inline; white-space:nowrap; vertical-align:
middle; padding:0; margin-top:-2px;\">");
               out.print("<img src=\"");
               out.print(images);
               out.print("/");
  @@ -266,7 +266,7 @@
               out.print("\" border=\"0\" />");
               out.print("</div>");
               if (hyperlink != null)
  -                out.print("</a>");
  +                out.print("</a>&nbsp;");
           }
       
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message