Author: bugman Date: Wed Dec 29 16:02:06 2010 New Revision: 12024 URL: http://svn.gna.org/viewcvs/relax?rev=12024&view=rev Log: Improvement for the File_selector class, the file name is now scrolled all the way to the right. This is inside the wx.TextCtrl field. Modified: branches/bieri_gui/gui_bieri/user_functions/base.py Modified: branches/bieri_gui/gui_bieri/user_functions/base.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/user_functions/base.py?rev=12024&r1=12023&r2=12024&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/user_functions/base.py (original) +++ branches/bieri_gui/gui_bieri/user_functions/base.py Wed Dec 29 16:02:06 2010 @@ -68,6 +68,9 @@ # Update the field. self.field.SetValue(file) + # Scroll the text to the end. + self.field.SetInsertionPoint(len(file)) + class UF_base: