fix HorizontalSpaced spacing
This commit is contained in:
parent
87d81bc062
commit
c0f4fceedf
1 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ from rich.panel import Panel as richPanel
|
||||||
from rich.columns import Columns as richColumns
|
from rich.columns import Columns as richColumns
|
||||||
from rich.theme import Theme as richTheme
|
from rich.theme import Theme as richTheme
|
||||||
from rich.layout import Layout as richLayout
|
from rich.layout import Layout as richLayout
|
||||||
|
from rich.console import Group as richGroup
|
||||||
from rich import box
|
from rich import box
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -563,6 +564,10 @@ class HorizontalSpaced(Horizontal):
|
||||||
else:
|
else:
|
||||||
task_table.add_row(item, style = h)
|
task_table.add_row(item, style = h)
|
||||||
|
|
||||||
|
# Add one final row for spacing,
|
||||||
|
# using a non-breakable space to bypass fakepan row filtering.
|
||||||
|
task_table.add_row(' ')
|
||||||
|
|
||||||
if task['H']:
|
if task['H']:
|
||||||
row_style = 'matching'
|
row_style = 'matching'
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue