[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/tree/browser/ Bugfix:

Roger Ineichen roger at projekt01.ch
Sun Mar 20 21:01:10 EST 2005


Log message for revision 29606:
  Bugfix:
  Added transparent shim.gif for fix space.
  If the table has not enough place the space in the table's TD get lost.

Changed:
  U   Zope3/trunk/src/zope/app/tree/browser/configure.zcml
  A   Zope3/trunk/src/zope/app/tree/browser/images/shim.gif
  U   Zope3/trunk/src/zope/app/tree/browser/navigation_macros.pt

-=-
Modified: Zope3/trunk/src/zope/app/tree/browser/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/tree/browser/configure.zcml	2005-03-21 02:00:02 UTC (rev 29605)
+++ Zope3/trunk/src/zope/app/tree/browser/configure.zcml	2005-03-21 02:01:10 UTC (rev 29606)
@@ -36,14 +36,14 @@
   </browser:pages>
 
   <!-- Set up the skin -->
-
+  <!-- disable the StaticTree skin since Rotterdam uses it and 
+       depend on this package.
   <browser:layer name="statictree" />
 
   <browser:skin
       name="StaticTree"
       layers="statictree zope.app.rotterdam.rotterdam default"
       />
-
   <browser:page
       for="*"
       name="navigation_macros"
@@ -51,5 +51,6 @@
       layer="statictree"
       template="navigation_macros.pt"
       />
+  -->
 
 </configure>

Added: Zope3/trunk/src/zope/app/tree/browser/images/shim.gif
===================================================================
(Binary files differ)


Property changes on: Zope3/trunk/src/zope/app/tree/browser/images/shim.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: Zope3/trunk/src/zope/app/tree/browser/navigation_macros.pt
===================================================================
--- Zope3/trunk/src/zope/app/tree/browser/navigation_macros.pt	2005-03-21 02:00:02 UTC (rev 29605)
+++ Zope3/trunk/src/zope/app/tree/browser/navigation_macros.pt	2005-03-21 02:01:10 UTC (rev 29606)
@@ -43,6 +43,9 @@
   <td style="width:16px" tal:repeat="state nodeInfo/row-state">
     <img tal:attributes="src context/++resource++tree_images/vline.png"
          tal:condition="state" alt="|" border="0" />
+    <img src="" width="16" height="16"
+		     tal:condition="not:state"
+         tal:attributes="src context/++resource++tree_images/shim.gif" />
   </td>
 
   <td style="width:16px">
@@ -70,10 +73,13 @@
     </tal:block>
   </td>
 
-  <td style="width:16px"
+  <td align="left" style="width:16px"
       tal:define="object nocall:node/context;
                   icon   object/@@zmi_icon | nothing">
     <img src="" tal:replace="structure icon" />
+    <img src="" width="16" height="16"
+		     tal:condition="not:icon"
+         tal:attributes="src context/++resource++tree_images/shim.gif" />
   </td>
 
   <td class="list-item"



More information about the Zope3-Checkins mailing list