From 65d95ee49f77ae98c4416b3940eeaa0ab7d7c5ff Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 17 May 2014 12:05:50 +0200 Subject: [PATCH] Shift bit display up --- naja/widgets/info_area.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index ef3f017..5baa517 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -53,7 +53,7 @@ class InfoAreaWidget(Widget): (INFO_LEFT_PADDING, 0), TITLES[self.state.gameboard.player_mode], colour=PALETTE.WHITE) title.render(self.surface) - y_offset = title.surface.get_rect().height + 8 + y_offset = title.surface.get_rect().height - 4 # TODO: Make this better. bits_text = ''.join('1' if bit in self.card.bitwise_operand else '0' @@ -66,7 +66,7 @@ class InfoAreaWidget(Widget): colour=PALETTE.LIGHT_TURQUOISE, bg_colour=PALETTE.BLACK) card_bits.render(self.surface) - y_offset += card_bits.surface.get_rect().height + 8 + y_offset += card_bits.surface.get_rect().height + 4 for choice, action in enumerate(self.card.actions): y_offset = self.prepare_action(choice, action, y_offset) -- 2.34.1