mailr28201 - /trunk/gui/relax_gui.py


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

Header


Content

Posted by edward on April 20, 2016 - 10:33:
Author: bugman
Date: Wed Apr 20 10:33:29 2016
New Revision: 28201

URL: http://svn.gna.org/viewcvs/relax?rev=28201&view=rev
Log:
Fix for the GUI status bar element widths.

Fixed widths in pixels causes text truncation on many systems, depending on 
the width of the main
relax window.  Instead variable widths should be used to allow wxPython to 
more elegantly present
the text while minimising truncation.


Modified:
    trunk/gui/relax_gui.py

Modified: trunk/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/relax_gui.py?rev=28201&r1=28200&r2=28201&view=diff
==============================================================================
--- trunk/gui/relax_gui.py      (original)
+++ trunk/gui/relax_gui.py      Wed Apr 20 10:33:29 2016
@@ -166,7 +166,7 @@
 
         # Set up the status bar.
         self.status_bar = self.CreateStatusBar(4, 0)
-        self.status_bar.SetStatusWidths([292, -1, 59, 250])
+        self.status_bar.SetStatusWidths([-4, -4, -1, -2])
         self.update_status_bar()
 
         # Add the start screen.




Related Messages


Powered by MHonArc, Updated Wed Apr 27 09:00:08 2016