mailr16736 - /branches/uf_redesign/gui/uf_objects.py


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

Header


Content

Posted by edward on June 07, 2012 - 18:25:
Author: bugman
Date: Thu Jun  7 18:25:33 2012
New Revision: 16736

URL: http://svn.gna.org/viewcvs/relax?rev=16736&view=rev
Log:
The lists in the GUI user function descriptions are no longer separated by 
blank lines.

This allows long lists to fit much better into the wizard windows.


Modified:
    branches/uf_redesign/gui/uf_objects.py

Modified: branches/uf_redesign/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16736&r1=16735&r2=16736&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Thu Jun  7 18:25:33 2012
@@ -862,7 +862,7 @@
                     elif type == 'list':
                         # Loop over the list elements.
                         for j in range(len(element)):
-                            text += "    - %s\n\n" % element[j]
+                            text += "    - %s\n" % element[j]
 
                     # Format the item lists.
                     elif type == 'item list':
@@ -870,9 +870,9 @@
                         for j in range(len(element)):
                             # No item.
                             if element[j][0] in [None, '']:
-                                text += "    %s\n\n" % element[j][1]
+                                text += "    %s\n" % element[j][1]
                             else:
-                                text += "    %s:  %s\n\n" % (element[j][0], 
element[j][1])
+                                text += "    %s:  %s\n" % (element[j][0], 
element[j][1])
 
                     # The text.
                     text = wx.StaticText(panel, -1, text, 
style=wx.TE_MULTILINE)




Related Messages


Powered by MHonArc, Updated Thu Jun 07 19:00:01 2012