From 2764516d4497aa241659aa2b4b6f8757c8d9ed40 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 23 Dec 2021 14:34:18 +0100 Subject: Use automatic size for widgets Signed-off-by: Olivier Gayot --- monitor-menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor-menu.py b/monitor-menu.py index 8fc0689..748dd8b 100755 --- a/monitor-menu.py +++ b/monitor-menu.py @@ -23,7 +23,7 @@ class MonitorMenu(): def __init__(self, config_file='~/.config/monitor-profiles.json'): with open(expanduser(config_file)) as fh: self.profiles = json.load(fh) - self.d = dialog.Dialog() + self.d = dialog.Dialog(autowidgetsize=True) def run(self, profile_idx=None): choices = [] -- cgit v1.2.3