From 600af6d5a71e3372262c1f3d821168f8396117ab Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 9 May 2012 00:13:50 +0200 Subject: Fix the size of the XMLTab --- src/tabs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tabs.py') 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): -- cgit v1.2.3