mailr14099 - /branches/gui_testing/gui/controller.py


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

Header


Content

Posted by edward on August 04, 2011 - 09:54:
Author: bugman
Date: Thu Aug  4 09:54:01 2011
New Revision: 14099

URL: http://svn.gna.org/viewcvs/relax?rev=14099&view=rev
Log:
The relax controller log control styles are now set to the 'modern_small' 
fonts.


Modified:
    branches/gui_testing/gui/controller.py

Modified: branches/gui_testing/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/controller.py?rev=14099&r1=14098&r2=14099&view=diff
==============================================================================
--- branches/gui_testing/gui/controller.py (original)
+++ branches/gui_testing/gui/controller.py Thu Aug  4 09:54:01 2011
@@ -492,17 +492,20 @@
         # Initialise the base class.
         super(LogCtrl, self).__init__(parent, id=id, pos=pos, size=size, 
style=style, name=name)
 
-        # Set the font info.
-        self.SetFont(font.modern_8)
-
-        # Create the STDERR style (with assignment 1).
+        # Create the standard style (style num 0).
+        self.StyleSetFont(0, font.modern_small)
+
+        # Create the STDERR style (style num 1).
         self.StyleSetForeground(1, wx.NamedColour('red'))
-
-        # Create the relax prompt style (assignment 2).
+        self.StyleSetFont(1, font.modern_small)
+
+        # Create the relax prompt style (style num 2).
         self.StyleSetForeground(2, wx.NamedColour('blue'))
-
-        # Create the relax warning style (assignment 3).
+        self.StyleSetFont(2, font.modern_small_bold)
+
+        # Create the relax warning style (style num 3).
         self.StyleSetForeground(3, wx.NamedColour('orange red'))
+        self.StyleSetFont(3, font.modern_small)
 
         # Bind events.
         self.Bind(wx.EVT_KEY_DOWN, self.capture_keys)




Related Messages


Powered by MHonArc, Updated Thu Aug 04 10:20:01 2011