Fix the size of the XMLTab

This commit is contained in:
mathieui 2012-05-09 00:13:50 +02:00
parent 070b7e7fd2
commit 600af6d5a7

View file

@ -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):