# HG changeset patch # User drewp@bigasterisk.com # Date 1118623143 0 # Node ID d19c607c41dc8ab9c32b17c20af7e2040e972e68 # Parent 079cc244a59edbf733b89c8db513a7018d2069fc font and window sizes, sort songs diff -r 079cc244a59e -r d19c607c41dc bin/ascoltami --- a/bin/ascoltami Mon Jun 13 00:37:59 2005 +0000 +++ b/bin/ascoltami Mon Jun 13 00:39:03 2005 +0000 @@ -163,9 +163,9 @@ for i,sf in enumerate(songfiles): b=tk.Button(songlist,text=sf[prefixlen:],width=maxsfwidth, anchor='w',pady=0,bd=0,relief='flat', - font="arial 17 bold") + font="arial 14 bold") b.bind("",lambda ev,b=b: - b.config(font="arial %d bold" % min(15,int((ev.height-3)*.8)))) + b.config(font="arial %d bold" % min(12,int((ev.height-3)*.8)))) try: # rainbow colors frac=i/len(songfiles) @@ -319,10 +319,11 @@ if len(songfiles)<1: songfiles = [f for f in os.listdir(showconfig.musicDir()) if f.endswith('wav')] + songfiles.sort() root=tk.Tk() root.wm_title("ascoltami") -root.wm_geometry("+1270+440") +#root.wm_geometry("+1270+440") root.config(bg="black") player=Player(None,None)