Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2009-09-17 04:33:03 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2009-09-17 04:33:03 (GMT)
commita44bdf24e518e5287ee0d1e7e8fee974616b9d16 (patch)
treedd8ff952c052d5ac42003d94c39ffa7f78fcc3b6
parent4a756473dfe448ca6759f0f41decf6db7856e7b0 (diff)
Font tweaks.
-rw-r--r--TODO1
-rw-r--r--lessonscreen.py10
2 files changed, 6 insertions, 5 deletions
diff --git a/TODO b/TODO
index 5359ddd..cc9135e 100644
--- a/TODO
+++ b/TODO
@@ -9,6 +9,7 @@ Lesson Editor
- Import and export from JSON data in Journal
- Graphical lesson builder
+ Automatic step and wordlist generation.
++ Balloon game options: # of balloons, balloon speed, time between balloons.
First Release
+ Export PDF of lesson history and progress.
diff --git a/lessonscreen.py b/lessonscreen.py
index 5ae66fd..f8c0b0d 100644
--- a/lessonscreen.py
+++ b/lessonscreen.py
@@ -45,7 +45,7 @@ class LessonScreen(gtk.VBox):
# Build the user interface.
title = gtk.Label()
- title.set_markup("<span size='20000'><b>" + lesson['name'] + "</b></span>")
+ title.set_markup("<span size='x-large' weight='bold'>" + lesson['name'] + "</span>")
title.set_alignment(1.0, 0.0)
stoplabel = gtk.Label(_('Go Back'))
@@ -71,13 +71,13 @@ class LessonScreen(gtk.VBox):
# Set up font styles.
self.tagtable = gtk.TextTagTable()
instructions_tag = gtk.TextTag('instructions')
- instructions_tag.props.size = 9000
+ instructions_tag.props.size = 10000
instructions_tag.props.justification = gtk.JUSTIFY_CENTER
self.tagtable.add(instructions_tag)
text_tag = gtk.TextTag('text')
text_tag.props.family = 'Monospace'
- text_tag.props.size = 9000
+ text_tag.props.size = 10000
self.tagtable.add(text_tag)
spacer_tag = gtk.TextTag('spacer')
@@ -90,13 +90,13 @@ class LessonScreen(gtk.VBox):
correct_copy_tag = gtk.TextTag('correct-copy')
correct_copy_tag.props.family = 'Monospace'
- correct_copy_tag.props.size = 9000
+ correct_copy_tag.props.size = 10000
correct_copy_tag.props.foreground = '#0000ff'
self.tagtable.add(correct_copy_tag)
incorrect_copy_tag = gtk.TextTag('incorrect-copy')
incorrect_copy_tag.props.family = 'Monospace'
- incorrect_copy_tag.props.size = 9000
+ incorrect_copy_tag.props.size = 10000
incorrect_copy_tag.props.foreground = '#ff0000'
self.tagtable.add(incorrect_copy_tag)