[WIP] Scanner table cell width adjusted
This commit is contained in:
parent
4d513d4d10
commit
ed62171e63
|
@ -16,12 +16,12 @@ from ...tools.context import BlattedEnvironment
|
||||||
environment = context.get_environment()
|
environment = context.get_environment()
|
||||||
console = context.get_console()
|
console = context.get_console()
|
||||||
|
|
||||||
table = Table(width=100)
|
table = Table()
|
||||||
live = Live(table, console=console)
|
live = Live(table, console=console)
|
||||||
table.add_column("Address", max_width=18)
|
table.add_column("Address", max_width=18)
|
||||||
table.add_column("Name", max_width=32)
|
table.add_column("Name", max_width=32)
|
||||||
table.add_column("RSSI", max_width=5)
|
table.add_column("RSSI", max_width=5)
|
||||||
table.add_column("Services", width=100 - 55)
|
table.add_column("Services", width=36)
|
||||||
|
|
||||||
|
|
||||||
class Scanner(Dispatcher):
|
class Scanner(Dispatcher):
|
||||||
|
|
Loading…
Reference in New Issue