[Pychord-commits] r43 - trunk/pgui

danilo at garage.maemo.org danilo at garage.maemo.org
Wed Mar 5 03:49:50 EET 2008


Author: danilo
Date: 2008-03-05 03:49:49 +0200 (Wed, 05 Mar 2008)
New Revision: 43

Modified:
   trunk/pgui/combo.py
   trunk/pgui/input.py
   trunk/pgui/locale.py
Log:
Change the Default font size to 40

Modified: trunk/pgui/combo.py
===================================================================
--- trunk/pgui/combo.py	2008-03-05 01:29:44 UTC (rev 42)
+++ trunk/pgui/combo.py	2008-03-05 01:49:49 UTC (rev 43)
@@ -64,7 +64,7 @@
         
         p = 0
         for key in options.keys():
-            btn = Tbutton(self,[10,p*30 + 10],options[key], width = width - 20, bgcolor = bgcolor)
+            btn = Tbutton(self,[10,p*pguiDefFontSize + 10],options[key], width = width - 20, bgcolor = bgcolor)
             btn.registerClickSlot(self.select,key)
             self.addElement(btn)
             p += 1

Modified: trunk/pgui/input.py
===================================================================
--- trunk/pgui/input.py	2008-03-05 01:29:44 UTC (rev 42)
+++ trunk/pgui/input.py	2008-03-05 01:49:49 UTC (rev 43)
@@ -1,11 +1,12 @@
 from box import *
 from label import *
 from container import *
+from locale import *
 
 class input (container):
 
 
-    def __init__(self, father, position, text = '', ptsize = 40, width = 300, height = None, bsize = 1):
+    def __init__(self, father, position, text = '', ptsize = pguiDefFontSize, width = 300, height = None, bsize = 1):
         """
 
         @param string text : default text

Modified: trunk/pgui/locale.py
===================================================================
--- trunk/pgui/locale.py	2008-03-05 01:29:44 UTC (rev 42)
+++ trunk/pgui/locale.py	2008-03-05 01:49:49 UTC (rev 43)
@@ -8,4 +8,4 @@
 
 
 #THEME OPTIONS
-pguiDefFontSize = 30 # Default FontSize
+pguiDefFontSize = 40 # Default FontSize



More information about the Pychord-commits mailing list