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
# -------------------------------------------------------------------------
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue