Mercurial > rinkhals
changeset 449:938498b8cd03
Fix toolbar alignment
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 21 Nov 2009 20:11:08 +0000 |
parents | 92e7a641b4a6 |
children | 5d74d0e4a4cc |
files | gamelib/gameboard.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/gameboard.py Sat Nov 21 20:02:33 2009 +0000 +++ b/gamelib/gameboard.py Sat Nov 21 20:11:08 2009 +0000 @@ -116,8 +116,7 @@ td.remove(self.toolbar) td.add(new_toolbar, 0, 0) self.toolbar = new_toolbar - self.toolbar.rect.size = self.toolbar.resize(height=td.rect.height) - td.resize() + self.toolbar.rect.size = self.toolbar.resize() td.repaint() def update(self):