diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2014-07-21 13:05:25 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-07-21 13:05:25 (GMT) |
commit | ca7c9d937c267301d06b183b2d81f429335a29c4 (patch) | |
tree | b0c74236d190226300c1f30adb64f2678097753e | |
parent | 3216a22d932568eabaf779e7622234b8a480230c (diff) |
Vertical align to center the game table
-rw-r--r-- | cardtable.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cardtable.py b/cardtable.py index d5a4b85..ad292bc 100644 --- a/cardtable.py +++ b/cardtable.py @@ -61,6 +61,7 @@ class CardTable(Gtk.EventBox): self.table.set_border_width(CARD_PAD) self.table.set_resize_mode(Gtk.ResizeMode.IMMEDIATE) self.table.set_halign(Gtk.Align.CENTER) + self.table.set_valign(Gtk.Align.CENTER) self.set_property('child', self.table) self.load_message = Gtk.Label(label='Loading Game') self.load_message.modify_fg(Gtk.StateType.NORMAL, |