summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 14:34:18 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 14:34:18 +0100
commit2764516d4497aa241659aa2b4b6f8757c8d9ed40 (patch)
tree373fdd054688438498c8a3b3c08fbda27e22b2ee
parentca8b3d7db29020859b025e669a07601da6609337 (diff)
Use automatic size for widgets
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-xmonitor-menu.py2
1 files changed, 1 insertions, 1 deletions
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 = []