mailr16761 - /branches/uf_redesign/gui/components/base_list.py


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

Header


Content

Posted by edward on June 08, 2012 - 12:51:
Author: bugman
Date: Fri Jun  8 12:51:20 2012
New Revision: 16761

URL: http://svn.gna.org/viewcvs/relax?rev=16761&view=rev
Log:
Improvements to the spacing at the top and bottom of the list GUI elements.

This includes a spacing before the bottom buttons.


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

Modified: branches/uf_redesign/gui/components/base_list.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/components/base_list.py?rev=16761&r1=16760&r2=16761&view=diff
==============================================================================
--- branches/uf_redesign/gui/components/base_list.py (original)
+++ branches/uf_redesign/gui/components/base_list.py Fri Jun  8 12:51:20 2012
@@ -106,9 +106,9 @@
         # Add buttons to the top.
         if self.button_placement == 'top':
             self.add_buttons(box_centre)
+            box_centre.AddSpacer(self.spacing)
 
         # Initialise the element.
-        box_centre.AddSpacer(self.spacing)
         self.init_element(box_centre)
 
         # Build the element.
@@ -116,6 +116,7 @@
 
         # Add buttons to the bottom.
         if self.button_placement == 'bottom':
+            box_centre.AddSpacer(self.spacing)
             self.add_buttons(box_centre)
 
         # Initialise observer name.




Related Messages


Powered by MHonArc, Updated Fri Jun 08 13:00:01 2012