parent
d173ab9f45
commit
2b3753d99c
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ def layout(self) -> None:
|
|||
return
|
||||
self.cell_width = cell_width
|
||||
s = self.screen
|
||||
viewport_width = tab_bar.width - 2 * self.margin_width
|
||||
viewport_width = max(4 * cell_width, tab_bar.width - 2 * self.margin_width)
|
||||
ncells = viewport_width // cell_width
|
||||
s.resize(1, ncells)
|
||||
s.reset_mode(DECAWM)
|
||||
|
|
|
|||
Loading…
Reference in a new issue