Fix extra space at bottom of OS window when using the fat layout with the tab bar at the top

Fix #3258
This commit is contained in:
Kovid Goyal 2021-01-25 09:30:14 +05:30
parent d08ae5466d
commit 6e73d3fac8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
:kbd:`ctrl+plus` will match a keyboard where you have to press
:kbd:`shift+equal` to get the plus key (:iss:`2000`)
- Fix extra space at bottom of OS window when using the fat layout with the tab bar at the
top (:iss:`3258`)
0.19.3 [2020-12-19]
-------------------

View File

@ -169,7 +169,7 @@ class Tall(Layout):
if is_fat:
xl, yl = yl, xl
yield wg, xl, yl, True
size = (lgd.central.height if is_fat else lgd.central.width) - start
size = (lgd.central.bottom if is_fat else lgd.central.right) - start
ylayout = self.variable_layout(all_windows, self.biased_map)
for i, wg in enumerate(all_windows.iter_all_layoutable_groups()):