mailr13004 - /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 - 17:56:
Author: bugman
Date: Tue Jun 14 17:56:28 2011
New Revision: 13004

URL: http://svn.gna.org/viewcvs/relax?rev=13004&view=rev
Log:
The grid fonts are now properly set.


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=13004&r1=13003&r2=13004&view=diff
==============================================================================
--- 1.3/gui/components/spectrum.py (original)
+++ 1.3/gui/components/spectrum.py Tue Jun 14 17:56:28 2011
@@ -364,12 +364,13 @@
             # Set the editor for the number of cycles column.
             self.grid.SetCellEditor(i, 2, Delay_num_cell_editor(0, 200, 
self))
 
+        # Properties.
+        self.grid.SetDefaultCellFont(self.gui.font_normal)
+        self.grid.SetLabelFont(self.gui.font_normal_bold)
+
         # No cell resizing allowed.
         self.grid.EnableDragColSize(False)
         self.grid.EnableDragRowSize(False)
-
-        # Properties.
-        self.grid.SetFont(self.gui.font_normal)
 
         # Bind some events.
         self.grid.GetGridWindow().Bind(wx.EVT_LEFT_DCLICK, 
self.event_left_dclick)




Related Messages


Powered by MHonArc, Updated Tue Jun 14 18:20:01 2011