From e464c24b4991ba753320d939e39524bf7ff3264a Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 8 Oct 2015 01:18:00 +0200 Subject: Fix a display issue with the contact info win (the line above was never used and could contain garbage from elsewhere) TODO: fix the way we arrange information inside it to fit more stuff --- src/tabs/rostertab.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tabs') diff --git a/src/tabs/rostertab.py b/src/tabs/rostertab.py index f9fe49d6..a5c22304 100644 --- a/src/tabs/rostertab.py +++ b/src/tabs/rostertab.py @@ -500,7 +500,7 @@ class RosterInfoTab(Tab): contact_win_h = 0 else: display_contact_win = True - contact_win_h = 5 + contact_win_h = 4 if self.size.tab_degrade_y: tab_win_height = 0 else: @@ -515,10 +515,10 @@ class RosterInfoTab(Tab): info_width, 0, roster_width + 1, self.core.information_buffer) if display_contact_win: - self.contact_info_win.resize(contact_win_h - tab_win_height, + self.contact_info_win.resize(contact_win_h, info_width, self.height - tab_win_height - - contact_win_h, + - contact_win_h - 1, roster_width + 1) self.roster_win.resize(self.height - 1 - Tab.tab_win_height(), roster_width, 0, 0) -- cgit v1.2.3