summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-09 00:13:50 +0200
committermathieui <mathieui@mathieui.net>2012-05-09 00:13:50 +0200
commit600af6d5a71e3372262c1f3d821168f8396117ab (patch)
tree54286bd1fd5a0b5f56e901dccbd6f51bffaa4a04 /src
parent070b7e7fd287069f1c2af4452ddc25bb18678c09 (diff)
downloadpoezio-600af6d5a71e3372262c1f3d821168f8396117ab.tar.gz
poezio-600af6d5a71e3372262c1f3d821168f8396117ab.tar.bz2
poezio-600af6d5a71e3372262c1f3d821168f8396117ab.tar.xz
poezio-600af6d5a71e3372262c1f3d821168f8396117ab.zip
Fix the size of the XMLTab
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index e9fbda2f..87112404 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2880,7 +2880,8 @@ class XMLTab(Tab):
if not self.visible:
return
self.need_resize = False
- self.text_win.resize(self.height-2, self.width, 0, 0)
+ min = 1 if self.left_tab_win else 2
+ self.text_win.resize(self.height-min, self.width, 0, 0)
self.input.resize(1, self.width, self.height-1, 0)
def refresh(self):