mailr13010 - /1.3/gui/analyses/results.py


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

Header


Content

Posted by edward on June 14, 2011 - 18:50:
Author: bugman
Date: Tue Jun 14 18:50:17 2011
New Revision: 13010

URL: http://svn.gna.org/viewcvs/relax?rev=13010&view=rev
Log:
The steady-state NOE results box now resizes.


Modified:
    1.3/gui/analyses/results.py

Modified: 1.3/gui/analyses/results.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/results.py?rev=13010&r1=13009&r2=13010&view=diff
==============================================================================
--- 1.3/gui/analyses/results.py (original)
+++ 1.3/gui/analyses/results.py Tue Jun 14 18:50:17 2011
@@ -124,10 +124,10 @@
         sizer1.Add(button_noe, 0, wx.LEFT, 5)
         
         # Add selection.
-        sizer.Add(sizer1, 0, wx.EXPAND, 0) 
+        sizer.Add(sizer1, 1, wx.ALL|wx.EXPAND, 0) 
 
         # Add the element to the box.
-        box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
+        box.Add(sizer, 1, wx.ALL|wx.EXPAND, 0)
 
 
     def add_list_box(self, box, fn=None):
@@ -145,13 +145,13 @@
         list = wx.ListBox(self.parent, -1, choices=[])
 
         # Set the properties.
-        list.SetMinSize((800, 130))
+        list.SetMinSize((400, 130))
 
         # Bind events.
         self.gui.Bind(wx.EVT_LISTBOX_DCLICK, fn, list)
 
         # Add to the sizer.
-        box.Add(list, 0, wx.EXPAND, 0)
+        box.Add(list, 1, wx.ALL|wx.EXPAND, 0)
 
         # Return the list box.
         return list
@@ -212,7 +212,7 @@
         self.add_model_free_results(sizer)
 
         # Add the sizer to the main box.
-        box.Add(sizer, 1, 0, 0)
+        box.Add(sizer, 1, wx.ALL|wx.EXPAND, 0)
 
 
     def sync_results(self):




Related Messages


Powered by MHonArc, Updated Tue Jun 14 19:00:02 2011