Subject: Re: [nmr_sparky] Extension Font Size
From: Mandar T. Naik
Date: Apr 25, 2006

Previous: 113 Next: 115


Hi Thomas,
Thanks for correcting me. It worked out perfect now.

I have one more trivial question, perhaps you can help. In Linux, Sparkys
File Open (also project open and fm extension) start to show hidden
files/folders. This is particularly troublesome if one needs to navigate
through his home directory, say to access NMR UCSF data and come back.

I am going through FileDialog.py and fnmatch.py, and apparently felt optional
UNIX shell type pattern can be specified to filter, but its not working. Is
there any other easy remedy?

Best regards
-mandar


On Tuesday 25 April 2006 04:36 pm, Thomas Goddard wrote:
Hi Mandar,

  There are two places in Sparky file

      sparky/python/sparky/tkutil.py

just a few lines apart that have font = Courier.  If you change
both to font = Courier 12 then both the Select applicable
translations list heading and the list entries of the atom names
translation dialog will use a 12 point font.  Ive made this change in the
Sparky source code so it will be in a future release.  All other Sparky
extensions that use list boxes use this same tkutil.py code so they should
all show the bigger font.

  The Tk documentation says if the font size is not specified then a
platform-specific default is used but I couldnt find where that default
is given.  Testing Tk shows it is a 6 point font on my Redhat Enterprise
Linux 4 system.

      Tom


YAHOO! GROUPS LINKS


 Visit your group nmr_sparky on the web.
 
 To unsubscribe from this group, send an email to:
 nmr_sparky-unsubscribe@yahoogroups.com
 
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.