forked from josch/plakativ
adjust the size of the right frame depending on the display dpi
This commit is contained in:
parent
6f8a42801f
commit
d58d02092a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue