mailr12017 - in /branches/bieri_gui/gui_bieri: about.py analyses/auto_model_free.py


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

Header


Content

Posted by edward on December 28, 2010 - 23:49:
Author: bugman
Date: Tue Dec 28 23:49:31 2010
New Revision: 12017

URL: http://svn.gna.org/viewcvs/relax?rev=12017&view=rev
Log:
The titles are now properly centred.


Modified:
    branches/bieri_gui/gui_bieri/about.py
    branches/bieri_gui/gui_bieri/analyses/auto_model_free.py

Modified: branches/bieri_gui/gui_bieri/about.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/about.py?rev=12017&r1=12016&r2=12017&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/about.py (original)
+++ branches/bieri_gui/gui_bieri/about.py Tue Dec 28 23:49:31 2010
@@ -282,7 +282,7 @@
         x, y = self.dc.GetTextExtent(text)
 
         # Draw the text, with a spacer.
-        self.dc.DrawText(text, self.border + (self.dim_x - x)/2, 
self.offset(15))
+        self.dc.DrawText(text, self.border + (self.virt_x - x)/2, 
self.offset(15))
 
         # Add the text extent.
         self.offset(y)

Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=12017&r1=12016&r2=12017&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Tue Dec 28 
23:49:31 2010
@@ -134,6 +134,7 @@
         self.dc = wx.ClientDC(win)
 
         # Build the widget within the temp DC.
+        self.virt_x = self.dim_x
         self.build_widget()
 
         # The virtual size.




Related Messages


Powered by MHonArc, Updated Wed Dec 29 00:00:02 2010