summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-10-08 01:18:00 +0200
committermathieui <mathieui@mathieui.net>2015-10-08 01:18:00 +0200
commite464c24b4991ba753320d939e39524bf7ff3264a (patch)
tree7dcb1001b8b58a716c9f4f24fb75dfb0adbb3ab0 /src/tabs
parent11d41625e2eaa70905a2398496fb02d886961d4b (diff)
downloadpoezio-e464c24b4991ba753320d939e39524bf7ff3264a.tar.gz
poezio-e464c24b4991ba753320d939e39524bf7ff3264a.tar.bz2
poezio-e464c24b4991ba753320d939e39524bf7ff3264a.tar.xz
poezio-e464c24b4991ba753320d939e39524bf7ff3264a.zip
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
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/rostertab.py6
1 files changed, 3 insertions, 3 deletions
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)