From 0e2558b0cc3809a0e6dbf064f411aa71fc801bcf Mon Sep 17 00:00:00 2001 From: oepen Date: Mon, 14 Jun 2010 08:06:12 +0000 Subject: [PATCH] Adjusted layout for the OpenMoko git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@151 96b47cad-a561-4643-ad3b-153ac7d7599c --- pace-gui/src/pinpad.glade | 3 ++- pace-gui/src/pinpad.py | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pace-gui/src/pinpad.glade b/pace-gui/src/pinpad.glade index c9afe68..67cb10c 100644 --- a/pace-gui/src/pinpad.glade +++ b/pace-gui/src/pinpad.glade @@ -40,6 +40,7 @@ True False + 0 0.5 True out @@ -47,7 +48,7 @@ False - 10 + 5 2 diff --git a/pace-gui/src/pinpad.py b/pace-gui/src/pinpad.py index a0d945f..c6dff45 100644 --- a/pace-gui/src/pinpad.py +++ b/pace-gui/src/pinpad.py @@ -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)