From ed62171e6370f2ec58790f09ba6d815085715b3a Mon Sep 17 00:00:00 2001 From: jpk Date: Sun, 21 May 2023 19:03:26 +0200 Subject: [PATCH] [WIP] Scanner table cell width adjusted --- blatted/tools/ble/scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blatted/tools/ble/scanner.py b/blatted/tools/ble/scanner.py index 7a78a1f..47a2a07 100644 --- a/blatted/tools/ble/scanner.py +++ b/blatted/tools/ble/scanner.py @@ -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):