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

@@ -40,6 +40,7 @@
<property name="visible">True</property>
<property name="editable">False</property>
<property name="invisible_char">&#x25CF;</property>
<property name="width_chars">0</property>
<property name="xalign">0.5</property>
<property name="truncate_multiline">True</property>
<property name="shadow_type">out</property>
@@ -47,7 +48,7 @@
</object>
<packing>
<property name="expand">False</property>
<property name="padding">10</property>
<property name="padding">5</property>
<property name="position">2</property>
</packing>
</child>

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)