mailr12006 - /branches/bieri_gui/gui_bieri/about.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 - 21:13:
Author: bugman
Date: Tue Dec 28 21:13:56 2010
New Revision: 12006

URL: http://svn.gna.org/viewcvs/relax?rev=12006&view=rev
Log:
The URL position is now correctly stored when not centred in the window.


Modified:
    branches/bieri_gui/gui_bieri/about.py

Modified: branches/bieri_gui/gui_bieri/about.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/about.py?rev=12006&r1=12005&r2=12006&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/about.py (original)
+++ branches/bieri_gui/gui_bieri/about.py Tue Dec 28 21:13:56 2010
@@ -231,7 +231,7 @@
 
         # Store the position of the text.
         self.url_pos.append(zeros((2, 2), int))
-        self.url_pos[-1][0] = [self.border + (self.dim_x - x)/2, self.border 
+ (self.dim_x + x)/2]
+        self.url_pos[-1][0] = [pos_x, pos_x + x]
         self.url_pos[-1][1] = [self.offset(), self.offset()+y]
 
         # Shift down.




Related Messages


Powered by MHonArc, Updated Tue Dec 28 21:20:02 2010