Commit e464c24b authored by mathieui's avatar mathieui

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
parent 11d41625
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment