[WIP] Scanner table cell width adjusted

This commit is contained in:
jpk 2023-05-21 19:03:26 +02:00
parent 4d513d4d10
commit ed62171e63
1 changed files with 2 additions and 2 deletions

View File

@ -16,12 +16,12 @@ from ...tools.context import BlattedEnvironment
environment = context.get_environment()
console = context.get_console()
table = Table(width=100)
table = Table()
live = Live(table, console=console)
table.add_column("Address", max_width=18)
table.add_column("Name", max_width=32)
table.add_column("RSSI", max_width=5)
table.add_column("Services", width=100 - 55)
table.add_column("Services", width=36)
class Scanner(Dispatcher):