mailr12991 - /1.3/gui/components/spectrum.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 - 16:01:
Author: bugman
Date: Tue Jun 14 16:01:34 2011
New Revision: 12991

URL: http://svn.gna.org/viewcvs/relax?rev=12991&view=rev
Log:
Horizontal scrolling is turned off in the relaxation peak list grid.


Modified:
    1.3/gui/components/spectrum.py

Modified: 1.3/gui/components/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/components/spectrum.py?rev=12991&r1=12990&r2=12991&view=diff
==============================================================================
--- 1.3/gui/components/spectrum.py (original)
+++ 1.3/gui/components/spectrum.py Tue Jun 14 16:01:34 2011
@@ -367,6 +367,9 @@
         self.grid.EnableDragColSize(False)
         self.grid.EnableDragRowSize(False)
 
+        # No horizontal scrolling.
+        self.grid.SetMargins(-20, 0)
+
         # Bind some events.
         self.grid.GetGridWindow().Bind(wx.EVT_LEFT_DCLICK, 
self.event_left_dclick)
         self.grid.Bind(wx.EVT_KEY_DOWN, self.event_key_down)




Related Messages


Powered by MHonArc, Updated Tue Jun 14 16:20:02 2011