summaryrefslogtreecommitdiff
path: root/src/tabs/muctab.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-29 02:20:06 +0200
committermathieui <mathieui@mathieui.net>2014-04-29 02:20:06 +0200
commit6391d97b3af266fe5e348283196bcb7f1ec78c7c (patch)
tree751237c51f23083257f0c591b712195993eaeb4f /src/tabs/muctab.py
parent9e72f8336da77c566fbbe6aad7caf6e79a0aab58 (diff)
downloadpoezio-6391d97b3af266fe5e348283196bcb7f1ec78c7c.tar.gz
poezio-6391d97b3af266fe5e348283196bcb7f1ec78c7c.tar.bz2
poezio-6391d97b3af266fe5e348283196bcb7f1ec78c7c.tar.xz
poezio-6391d97b3af266fe5e348283196bcb7f1ec78c7c.zip
Fix most UI issues with introduced in 0caf941
Diffstat (limited to 'src/tabs/muctab.py')
-rw-r--r--src/tabs/muctab.py17
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)