mailr15997 - /branches/uf_redesign/gui/components/combo_list.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 05, 2012 - 20:58:
Author: bugman
Date: Sat May  5 20:58:23 2012
New Revision: 15997

URL: http://svn.gna.org/viewcvs/relax?rev=15997&view=rev
Log:
The Combo_list GUI element can now handle an initial size of None, converting 
this to 1.


Modified:
    branches/uf_redesign/gui/components/combo_list.py

Modified: branches/uf_redesign/gui/components/combo_list.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/components/combo_list.py?rev=15997&r1=15996&r2=15997&view=diff
==============================================================================
--- branches/uf_redesign/gui/components/combo_list.py (original)
+++ branches/uf_redesign/gui/components/combo_list.py Sat May  5 20:58:23 2012
@@ -76,6 +76,10 @@
         self._combo_boxes = []
         self._sub_sizers = []
 
+        # Set the initial size, if needed.
+        if n == None:
+            n = 1
+
         # The divider.
         if not divider:
             self._divider = self._parent._div_left




Related Messages


Powered by MHonArc, Updated Sat May 05 21:20:02 2012