The Molecular Graphics Laboratory Forum

AutoDock, AutoLigand, MGLTools, Vina, PyRx and more.
It is currently Mon Apr 23, 2018 11:21 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Oct 11, 2010 7:52 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Mon Oct 11, 2010 7:40 am
Posts: 1
I am trying to run raccoon in linux. The installation seems fine and I am able to launch the program. But there is a problem, as the text seems to be too big that some contents (for example, the button for generating VS script) cannot be displayed in the window. I tried to decrease the font size but that does not change the text size in the raccoon window. What is the possible solution for this? Thanks a lot!

don


Top
 Profile  
 
PostPosted: Tue Oct 12, 2010 10:09 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Tue Oct 12, 2010 10:04 pm
Posts: 1
Hi,
I had the exact same problem when i tried to run racoon, I am still struggling with it, any help would be much appreciated!


Top
 Profile  
 
PostPosted: Thu Oct 21, 2010 2:02 am 
Offline
MGL member
MGL member
User avatar

Joined: Mon Oct 20, 2008 6:34 pm
Posts: 200
Hi,

I'm sorry for the inconvenience. I'm working to add a font size option in the next version.

In the meantime, you can try this workaround. Open the file 'raccoon.py' with a text editor, look for this line:
Code:
root = Tk()

and add the following line right after it:
Code:
root = Tk()
root.option_add( "*font", "Helvetica 9 bold")

If you re-start Raccoon, it should show smaller fonts. If it is still too big, though, try to change the value of the font size ("9") to something smaller like 8, 7, 6... , until you find the size that suits for your needs.

The TkInter toolkit I've used for writing Raccoon is really bad... but it was easy enough to have something 'quick and dirty' to use for generating virtual screenings.

Hopefully it will improve in the next release.

Let me know if it works,


Stefano


P.S. I'm curious to see how it looks like: it would be great if you could sent a screenshot of the interface, if you can... Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
POWERED_BY
Translated by Maël Soucaze © 2009 phpBB.fr