comparison gamelib/helpscreen.py @ 579:0e552e7e06fe

Use constant vertical position for buttons
author Neil Muller <drnlmuller@gmail.com>
date Sat, 28 Nov 2009 20:52:22 +0000
parents ecad90bbdc61
children
comparison
equal deleted inserted replaced
578:7bccd2bda217 579:0e552e7e06fe
162 self.br(space[1]) 162 self.br(space[1])
163 else: 163 else:
164 self.add(gui.Label(word)) 164 self.add(gui.Label(word))
165 self.space(space) 165 self.space(space)
166 self.br(space[1]) 166 self.br(space[1])
167 self.br(space[1]) 167 _width, _height = self.resize()
168 self.br(440 - _height)
168 self.add(self.prev_button, align=-1) 169 self.add(self.prev_button, align=-1)
169 self.add(self.next_button, align=1) 170 self.add(self.next_button, align=1)
170 self.add(self.done_button, align=0) 171 self.add(self.done_button, align=0)