Author: bugman Date: Tue Jun 14 15:46:17 2011 New Revision: 12990 URL: http://svn.gna.org/viewcvs/relax?rev=12990&view=rev Log: The Rx peak list grid cells can no longer be resized. 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=12990&r1=12989&r2=12990&view=diff ============================================================================== --- 1.3/gui/components/spectrum.py (original) +++ 1.3/gui/components/spectrum.py Tue Jun 14 15:46:17 2011 @@ -363,6 +363,10 @@ # Make the relaxation delay column read only. self.grid.SetReadOnly(i, 2) + # No cell resizing allowed. + self.grid.EnableDragColSize(False) + self.grid.EnableDragRowSize(False) + # 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)