mailr15708 - /1.3/gui/spin_viewer/containers.py


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

Header


Content

Posted by edward on April 13, 2012 - 18:00:
Author: bugman
Date: Fri Apr 13 18:00:49 2012
New Revision: 15708

URL: http://svn.gna.org/viewcvs/relax?rev=15708&view=rev
Log:
wxPython 2.9 fix for the spin viewer window (at least for Mac OS X).

The FlexGridSizer now requires the number of elements to be exact or set to 
zero to expand on 
demand!


Modified:
    1.3/gui/spin_viewer/containers.py

Modified: 1.3/gui/spin_viewer/containers.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/spin_viewer/containers.py?rev=15708&r1=15707&r2=15708&view=diff
==============================================================================
--- 1.3/gui/spin_viewer/containers.py (original)
+++ 1.3/gui/spin_viewer/containers.py Fri Apr 13 18:00:49 2012
@@ -248,7 +248,7 @@
         text_sizer.AddSpacer(30)
 
         # The info grid.
-        grid_sizer = wx.FlexGridSizer(1, 2, 5, 50)
+        grid_sizer = wx.FlexGridSizer(2, 2, 5, 50)
         grid_sizer.Add(self.create_head_text("Molecule:"), 0, 
wx.ADJUST_MINSIZE, 0)
         grid_sizer.Add(self.create_head_text(self.mol_name), 0, 
wx.ADJUST_MINSIZE, 0)
         grid_sizer.Add(self.create_head_text("Molecule ID string:"), 0, 
wx.ADJUST_MINSIZE, 0)




Related Messages


Powered by MHonArc, Updated Mon Apr 16 00:20:02 2012