mailr14000 - /branches/gui_testing/gui/user_functions/base.py


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

Header


Content

Posted by edward on July 29, 2011 - 17:12:
Author: bugman
Date: Fri Jul 29 17:12:18 2011
New Revision: 14000

URL: http://svn.gna.org/viewcvs/relax?rev=14000&view=rev
Log:
The height_desc class variable is now respected in the user function base 
class.

This will allow the description height to be changed.


Modified:
    branches/gui_testing/gui/user_functions/base.py

Modified: branches/gui_testing/gui/user_functions/base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/base.py?rev=14000&r1=13999&r2=14000&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/base.py (original)
+++ branches/gui_testing/gui/user_functions/base.py Fri Jul 29 17:12:18 2011
@@ -150,7 +150,7 @@
         return stripped_text
 
 
-    def add_desc(self, sizer, max_y=220):
+    def add_desc(self, sizer, max_y=self.height_desc):
         """Add the description to the dialog.
 
         @param sizer:   A sizer object.




Related Messages


Powered by MHonArc, Updated Fri Jul 29 17:20:03 2011