mailr11561 - /branches/bieri_gui/gui_bieri/settings.py


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

Header


Content

Posted by edward on September 15, 2010 - 19:01:
Author: bugman
Date: Wed Sep 15 19:01:53 2010
New Revision: 11561

URL: http://svn.gna.org/viewcvs/relax?rev=11561&view=rev
Log:
The buttons are now better placed and move with a resize in the global 
setting window.


Modified:
    branches/bieri_gui/gui_bieri/settings.py

Modified: branches/bieri_gui/gui_bieri/settings.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/settings.py?rev=11561&r1=11560&r2=11561&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/settings.py (original)
+++ branches/bieri_gui/gui_bieri/settings.py Wed Sep 15 19:01:53 2010
@@ -108,9 +108,11 @@
         grid_sizer_1_copy.Add(self.minim, 0, 0, 0)
         grid_sizer_1_copy.Add(self.label_8_copy, 0, wx.LEFT|wx.RIGHT, 5)
         grid_sizer_1_copy.Add(self.monte, 0, 0, 0)
-        grid_sizer_1_copy.Add(self.ok_copy, 0, wx.ALL|wx.ALIGN_RIGHT, 5)
-        grid_sizer_1_copy.Add(self.cancel_copy, 0, wx.ALL, 5)
         sizer_1_copy.Add(grid_sizer_1_copy, 1, wx.SHAPED, 0)
+        sizer2 = wx.BoxSizer(wx.HORIZONTAL)
+        sizer2.Add(self.ok_copy, 0, wx.ALL|wx.ALIGN_RIGHT, 5)
+        sizer2.Add(self.cancel_copy, 0, wx.ALL, 5)
+        sizer_1_copy.Add(sizer2, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
         self.SetSizer(sizer_1_copy)
         sizer_1_copy.Fit(self)
         self.Layout()




Related Messages


Powered by MHonArc, Updated Wed Sep 15 19:20:02 2010