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.


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to