diff options
author | Wade Brainerd <wadetb@gmail.com> | 2009-11-09 13:09:03 (GMT) |
---|---|---|
committer | Wade Brainerd <wadetb@gmail.com> | 2009-11-09 13:09:03 (GMT) |
commit | c196ecf146c3e1ce674e9f0bbd664a318a62c8bc (patch) | |
tree | 57fb332d640ce49fa455d67c40b59c891515cb66 /keyboard.py | |
parent | 1152798bbdbc7eea800945fdec39eb407a6286f8 (diff) |
Remove hardcoded font sizes.
Diffstat (limited to 'keyboard.py')
-rw-r--r-- | keyboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard.py b/keyboard.py index 8dc73e7..4887183 100644 --- a/keyboard.py +++ b/keyboard.py @@ -502,7 +502,7 @@ class KeyboardWidget(KeyboardData, gtk.DrawingArea): try: layout = self.create_pango_layout(unicode(text)) - layout.set_font_description(pango.FontDescription('Monospace 12')) + layout.set_font_description(pango.FontDescription('Monospace')) draw.draw_layout(gc, x1+8, y2-23, layout) except: pass |