fix: Vertical panel expansion

This commit is contained in:
Johann Dreo 2023-08-25 11:13:28 +02:00
commit b1d65f6519
5 changed files with 35 additions and 5 deletions

View file

@ -317,7 +317,7 @@ class sections:
groups = self.group(tasks)
for key in self.order(groups):
if key in groups:
sections.append( rich.panel.Panel(self.stacker(groups[key]), title = rich.text.Text(str(key).upper(), style=key), title_align = "left", expand = False))
sections.append( rich.panel.Panel(self.stacker(groups[key]), title = rich.text.Text(str(key).upper(), style=key), title_align = "left", expand = True))
return rich.console.Group(*sections)
class Horizontal(Sectioner):