mailr10635 - /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 February 03, 2010 - 18:46:
Author: bugman
Date: Wed Feb  3 18:46:00 2010
New Revision: 10635

URL: http://svn.gna.org/viewcvs/relax?rev=10635&view=rev
Log:
Rearranged the position of the elements of the about relax widget.


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=10635&r1=10634&r2=10635&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/about.py (original)
+++ branches/bieri_gui/gui_bieri/about.py Wed Feb  3 18:46:00 2010
@@ -168,14 +168,14 @@
         x, y = self.dc.GetTextExtent(self.info.desc)
 
         # Draw the text.
-        self.dc.DrawText(self.info.desc, self.boarder + (self.dim_x - x)/2, 
250)
+        self.dc.DrawText(self.info.desc, self.boarder + (self.dim_x - x)/2, 
230)
 
 
     def draw_icon(self):
         """Draw the relax icon on the canvas."""
 
         # Add the relax logo.
-        
self.dc.DrawBitmap(wx.Bitmap(IMAGE_PATH+'ulysses_shadowless_400x168.png'), 
self.boarder, self.boarder+50, True)
+        
self.dc.DrawBitmap(wx.Bitmap(IMAGE_PATH+'ulysses_shadowless_400x168.png'), 
self.boarder, self.boarder, True)
 
 
     def draw_title(self):
@@ -192,7 +192,7 @@
         x, y = self.dc.GetTextExtent(text)
 
         # Draw the text.
-        self.dc.DrawText(text, self.boarder + (self.dim_x - x)/2, 30)
+        self.dc.DrawText(text, self.boarder + (self.dim_x - x)/2, 20+168)
 
 
 




Related Messages


Powered by MHonArc, Updated Wed Feb 03 19:00:02 2010