Fix the size of the XMLTab
This commit is contained in:
parent
070b7e7fd2
commit
600af6d5a7
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue