[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8289 - trunk/gnue-forms/src/GFObjects
From: |
johannes |
Subject: |
[gnue] r8289 - trunk/gnue-forms/src/GFObjects |
Date: |
Mon, 3 Apr 2006 18:22:23 -0500 (CDT) |
Author: johannes
Date: 2006-03-30 02:15:26 -0600 (Thu, 30 Mar 2006)
New Revision: 8289
Modified:
trunk/gnue-forms/src/GFObjects/GFLabel.py
Log:
Make rows- and rowSpacer-attribute working for GFLabels
Modified: trunk/gnue-forms/src/GFObjects/GFLabel.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFLabel.py 2006-03-30 08:06:52 UTC (rev
8288)
+++ trunk/gnue-forms/src/GFObjects/GFLabel.py 2006-03-30 08:15:26 UTC (rev
8289)
@@ -43,3 +43,20 @@
# Default attributes (these may be replaced by parser)
self.alignment = "left"
self.Char__height = int (gConfigForms ('widgetHeight'))
+
+
+ # ---------------------------------------------------------------------------
+ # Implementation of virtual methods
+ # ---------------------------------------------------------------------------
+
+ def _phase1Init_ (self):
+ """
+ On phase 1 initialization make sure to get the current value of the rows-
+ and rowSpacer-attribute. Since a GFLabel has no block it won't be set
+ otherwise.
+ """
+
+ GFObj._phase1Init_ (self)
+
+ self._rows = getattr (self, 'rows', self._rows)
+ self._gap = getattr (self, 'rowSpacer', self._gap)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8289 - trunk/gnue-forms/src/GFObjects,
johannes <=