adjust the size of the right frame depending on the display dpi

main
parent 6f8a42801f
commit d58d02092a
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -879,7 +879,7 @@ class VerticalScrolledFrame(tkinter.Frame):
borderwidth=0,
highlightthickness=0,
yscrollcommand=vscrollbar.set,
width=240,
width=240*parent.winfo_fpixels('1i')/96.0,
)
canvas.pack(side=tkinter.LEFT, fill=tkinter.BOTH, expand=tkinter.TRUE)
vscrollbar.config(command=canvas.yview)

Loading…
Cancel
Save