commit-gnue
[Top][All Lists]
Advanced

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

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


From: reinhard
Subject: [gnue] r10129 - trunk/gnue-forms/src/GFObjects
Date: Wed, 16 Dec 2009 12:25:20 -0600 (CST)

Author: reinhard
Date: 2009-12-16 12:25:19 -0600 (Wed, 16 Dec 2009)
New Revision: 10129

Modified:
   trunk/gnue-forms/src/GFObjects/GFHBox.py
Log:
Fix for hboxes which don't have a label.


Modified: trunk/gnue-forms/src/GFObjects/GFHBox.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFHBox.py    2009-12-15 15:33:12 UTC (rev 
10128)
+++ trunk/gnue-forms/src/GFObjects/GFHBox.py    2009-12-16 18:25:19 UTC (rev 
10129)
@@ -59,6 +59,9 @@
         if not isinstance(self.getParent(), GFVBox):
             return False
 
+        if self.label is None:
+            return False
+
         # If any of our children is a VBox or uses a label, we draw a box
         # around ourselves. Otherwise, use the label column of the containing
         # box.





reply via email to

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