mailRE: relax gui - window resize issue


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

Header


Content

Posted by Lora Picton on March 31, 2015 - 18:38:
Hi Edward, 

Yes, this has fixed the problems.

Thank you so much for your quick response.

Sincerely, 
Lora Picton
________________________________________
From: edward.dauvergne@xxxxxxxxx [edward.dauvergne@xxxxxxxxx] on behalf of 
Edward d'Auvergne [edward@xxxxxxxxxxxxx]
Sent: Tuesday, March 31, 2015 2:31 AM
To: Lora Picton
Cc: relax-users@xxxxxxx
Subject: Re: relax gui - window resize issue

Hi Lora,

Welcome to the relax mailing lists!  For the problem you are seeing,
do you mean that the spin viewer window (i.e. via the main menu
View->Spin Viewer) cannot be resized?  Or the spin loading wizard when
clicking on the 'Load spins' button or selecting 'Load spins' from the
right-click popup menus?  The spin viewer window is designed to be
resizeable.  However the spin loading wizard needs to be of fixed size
to allow the user function contents to be packed consistently.  The
wizard is fixed to the size of 1000x800 (see
http://www.nmr-relax.com/api/3.3/gui.spin_viewer.frame-pysrc.html#Spin_view_window.load_spins_wizard).
What is your screen resolution?  Try opening the
gui/spin_viewer/frame.py file in a text editor and changing size_y
value from 800 to 750 on the line:

        # Initialise a wizard.
       self.wizard = Wiz_window(parent=self, size_x=1000, size_y=800,
title="Load spins")

Does this solve the problem?  I've normally set a maximum size limit
of 1000x750 for all fixed sized windows to allow for all standard
screen sizes, but I can now see two places where this rule has been
broken.  The lowest resolution I've seen used for relax is 1024x768.
So if you have this resolution, the height of 750 should hopefully fix
the problem.  You can find the other problematic window by typing the
following in the relax root directory:

$ grep -r "Wiz_window(" gui/

If the height of 750 fixes the problem for you, I'll change the values
in the code.

Cheers,

Edward




On 30 March 2015 at 22:10, Lora Picton <lkpicton@xxxxxxxxxxxx> wrote:
Hi,

I have relax running on my Ubuntu 12.04 laptop, and am running into a 
problem with the GUI. When trying to set up spin systems, the spin loading 
page is unable to be resized, and the buttons at the bottom are not 
visible, and thus not clickable.

I have tried playing with the resolution and screen sizes on my display, 
but this did not solve the problem.

Is there a way to make this window either a smaller, fixed size? 
Alternately, is there a way to add the ability to resize the window?

Thank you so much for your time and attention.

Sincerely,
Lora Picton
_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

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-users



Related Messages


Powered by MHonArc, Updated Thu Apr 02 09:40:08 2015