Update vdiclient.py
#Fixed Window sizing problem when having more than 5 VMs
This commit is contained in:
parent
e8bdbdf67c
commit
ff44f186c2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user