mailr13434 - /branches/gui_testing/gui/wizard.py


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

Header


Content

Posted by edward on July 06, 2011 - 10:36:
Author: bugman
Date: Wed Jul  6 10:36:30 2011
New Revision: 13434

URL: http://svn.gna.org/viewcvs/relax?rev=13434&view=rev
Log:
The height of the description text in the wizard page can now be overwritten.


Modified:
    branches/gui_testing/gui/wizard.py

Modified: branches/gui_testing/gui/wizard.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13434&r1=13433&r2=13434&view=diff
==============================================================================
--- branches/gui_testing/gui/wizard.py (original)
+++ branches/gui_testing/gui/wizard.py Wed Jul  6 10:36:30 2011
@@ -36,7 +36,7 @@
 from gui.controller import Redirect_text
 from gui.filedialog import openfile
 from gui.message import error_message
-from gui.misc import add_border, gui_to_int, int_to_gui, str_to_gui
+from gui.misc import add_border, bool_to_gui, gui_to_int, int_to_gui, 
str_to_gui
 from gui import paths
 
 
@@ -112,6 +112,7 @@
     input_size = 27
     main_text = ''
     title = ''
+    desc_height = 220
 
     def __init__(self, parent):
         """Set up the window.
@@ -151,7 +152,7 @@
         self._add_title(main_sizer)
 
         # Add the description.
-        self._add_desc(main_sizer)
+        self._add_desc(main_sizer, max_y=self.desc_height)
 
         # Add the specific GUI elements (bounded by spacers).
         main_sizer.AddStretchSpacer()




Related Messages


Powered by MHonArc, Updated Wed Jul 06 11:20:02 2011