diff options
Diffstat (limited to 'src/tabs/muctab.py')
-rw-r--r-- | src/tabs/muctab.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py index 2886a41e..500ea541 100644 --- a/src/tabs/muctab.py +++ b/src/tabs/muctab.py @@ -814,14 +814,13 @@ class MucTab(ChatTab): info_win_height = self.core.information_win_size - if display_user_list: - self.user_win.resize(self.height - 3 - info_win_height - - tab_win_height, - self.width - (self.width // 10) * 9 - 1, - 1, - (self.width // 10) * 9 + 1) - self.v_separator.resize(self.height - 2 - tab_win_height, - 1, 1, 9 * (self.width // 10)) + self.user_win.resize(self.height - 3 - info_win_height + - tab_win_height, + self.width - (self.width // 10) * 9 - 1, + 1, + (self.width // 10) * 9 + 1) + self.v_separator.resize(self.height - 3 - info_win_height - tab_win_height, + 1, 1, 9 * (self.width // 10)) self.topic_win.resize(1, self.width, 0, 0) @@ -949,6 +948,8 @@ class MucTab(ChatTab): self.width - (self.width // 10) * 9 - 1, 1, (self.width // 10) * 9 + 1) + self.v_separator.resize(self.height - 3 - self.core.information_win_size - Tab.tab_win_height(), + 1, 1, 9 * (self.width // 10)) self.text_win.resize(self.height - 3 - self.core.information_win_size - Tab.tab_win_height(), text_width, 1, 0) |