Adjusted layout for the OpenMoko

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@151 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2010-06-14 08:06:12 +00:00
parent 82ddad7214
commit 0e2558b0cc
2 changed files with 5 additions and 5 deletions

View File

@@ -61,8 +61,7 @@ class PinpadGTK:
#Change the font for the text field
txtOutput = self.builder.get_object("txtOutput")
font = pango.FontDescription("Monospace")
txtOutput.modify_font(pango.FontDescription("sans 24"))
txtOutput.modify_font(pango.FontDescription("Monospace 16"))
#Look for card and set the label accordingly
lbl_cardStatus = self.builder.get_object("lbl_cardStatus")
@@ -82,9 +81,9 @@ class PinpadGTK:
raise ValueError("Button does not have a label")
if (name == "btnOk" or name == "btnDel"):
lbl.modify_font(pango.FontDescription("sans 16"))
lbl.modify_font(pango.FontDescription("sans 14"))
else:
lbl.modify_font(pango.FontDescription("sans 20"))
lbl.modify_font(pango.FontDescription("sans 18"))
#Prepare the Progress Bar window for later use
self.progressWindow = Popup(self.builder)