Author: bugman Date: Tue May 8 19:22:12 2012 New Revision: 16121 URL: http://svn.gna.org/viewcvs/relax?rev=16121&view=rev Log: Fix for the auto-generated GUI user function descriptions. The additional documentation was not passing through the process_doc() method, and hence was not being formatted for the wx.Text element. This was making the tables look very ugly! 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=16121&r1=16120&r2=16121&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Tue May 8 19:22:12 2012 @@ -307,8 +307,8 @@ # Additional documentation. if self.uf_data.additional != None: for i in range(len(self.uf_data.additional)): - text_list.append([self.uf_data.additional[i][0], 'title']) - text_list.append([self.uf_data.additional[i][1], 'desc']) + for element, type in self.process_doc(self.uf_data.additional[i]): + text_list.append([element, type]) # Loop over the elements. tot_x = 0