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. _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue