changeset 579:0e552e7e06fe

Use constant vertical position for buttons
author Neil Muller <drnlmuller@gmail.com>
date Sat, 28 Nov 2009 20:52:22 +0000
parents 7bccd2bda217
children 0b552419ecda
files gamelib/helpscreen.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/helpscreen.py	Sat Nov 28 20:45:14 2009 +0000
+++ b/gamelib/helpscreen.py	Sat Nov 28 20:52:22 2009 +0000
@@ -164,7 +164,8 @@
                     self.add(gui.Label(word))
                     self.space(space)
             self.br(space[1])
-        self.br(space[1])
+        _width, _height = self.resize()
+        self.br(440 - _height)
         self.add(self.prev_button, align=-1)
         self.add(self.next_button, align=1)
         self.add(self.done_button, align=0)