commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9170 - trunk/gnue-forms/src/GFObjects


From: johannes
Subject: [gnue] r9170 - trunk/gnue-forms/src/GFObjects
Date: Mon, 18 Dec 2006 08:54:23 -0600 (CST)

Author: johannes
Date: 2006-12-18 08:54:23 -0600 (Mon, 18 Dec 2006)
New Revision: 9170

Modified:
   trunk/gnue-forms/src/GFObjects/GFGrid.py
Log:
Set the _gap for all children of a grid to the number of rows 
(gridlines)


Modified: trunk/gnue-forms/src/GFObjects/GFGrid.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFGrid.py    2006-12-18 13:53:52 UTC (rev 
9169)
+++ trunk/gnue-forms/src/GFObjects/GFGrid.py    2006-12-18 14:54:23 UTC (rev 
9170)
@@ -69,6 +69,7 @@
     def __init_rows_walker(self, item):
         if (item is not self) and isinstance(item, (GFTabStop, GFGridLine)):
             item._rows = self.__rows
+            item._gap = len(self._children) - 1
 
 
     # -------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]