From ff44f186c2c44d41654a9c0e00fe1b5d535694d7 Mon Sep 17 00:00:00 2001 From: BrickMyPhone Date: Fri, 22 Sep 2023 11:31:03 +0200 Subject: [PATCH] Update vdiclient.py #Fixed Window sizing problem when having more than 5 VMs --- vdiclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdiclient.py b/vdiclient.py index f976add..574b63b 100644 --- a/vdiclient.py +++ b/vdiclient.py @@ -255,7 +255,7 @@ def setvmlayout(vms): layoutcolumn.append(tmplayout) layoutcolumn.append([sg.HorizontalSeparator()]) if len(vms) > 5: # We need a scrollbar - layout.append([sg.Column(layoutcolumn, scrollable = True, size = [450*G.scaling, None] )]) + layout.append([sg.Column(layoutcolumn, scrollable = True, size = [None, None] )]) else: for row in layoutcolumn: layout.append(row)