On 2 April 2016 at 22:10, <tlin...@nmr-relax.com> wrote: > Author: tlinnet > Date: Sat Apr 2 22:10:15 2016 > New Revision: 28198 > > URL: http://svn.gna.org/viewcvs/relax?rev=28198&view=rev > Log: > Optimising the width of the statusbar. > > 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=28198&r1=28197&r2=28198&view=diff > ============================================================================== > --- trunk/gui/relax_gui.py (original) > +++ trunk/gui/relax_gui.py Sat Apr 2 22:10:15 2016 > @@ -165,8 +165,8 @@ > self.SetTitle("relax " + version) > > # Set up the status bar. > - self.status_bar = self.CreateStatusBar(3, 0) > - self.status_bar.SetStatusWidths([-4, -1, -2]) > + self.status_bar = self.CreateStatusBar(4, 0) > + self.status_bar.SetStatusWidths([292, -1, 59, 250])
Hi Troels, I have modified this code to use variable width columns in the status bar. The fixed pixel width columns end up looking very ugly on many systems, with the text being highly truncated and improperly managed (due to the mixing of fixed and variable widths). So instead I'm using the variable widths of [-4, -4, -1, -2]. Regards, Edward _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@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-devel