Author: bugman Date: Mon Jun 4 11:58:00 2012 New Revision: 16623 URL: http://svn.gna.org/viewcvs/relax?rev=16623&view=rev Log: Table formatting improvements for the GUI user function descriptions. 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=16623&r1=16622&r2=16623&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Mon Jun 4 11:58:00 2012 @@ -398,7 +398,7 @@ total_width = sum(new_widths) + used # The header. - text += "_" * total_width + "\n\n" # Top rule and black line. + text += " " + "_" * (total_width - 2) + "\n\n" # Top rule and black line. text += self._table_line(text=table.headings, widths=new_widths) # The headings. text += self._table_line(widths=new_widths, bottom=True) # Middle rule. @@ -526,7 +526,7 @@ # Initialise. if bottom: - line = "__" + line = " _" else: line = " " @@ -554,7 +554,7 @@ # Close the line. if bottom: - line += "__\n" + line += "_ \n" else: line += " \n"