Adaptive initial window size
Dieser Commit ist enthalten in:
Ursprung
91cc247154
Commit
d6f52c917e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
2
pdf-sign
2
pdf-sign
|
@ -256,7 +256,7 @@ def main(args):
|
||||||
root._docView.place(x=docViewMargin, y=docViewMargin)
|
root._docView.place(x=docViewMargin, y=docViewMargin)
|
||||||
root._docViewIndex=root._docView.create_image(0, 0, anchor=tk.NW)
|
root._docViewIndex=root._docView.create_image(0, 0, anchor=tk.NW)
|
||||||
root.bind('<Configure>', onRootResize)
|
root.bind('<Configure>', onRootResize)
|
||||||
root.geometry("800x600")
|
root.geometry(f"{int(root.winfo_screenwidth()*2/3)}x{int(root.winfo_screenheight()*2/3)}")
|
||||||
@Cell
|
@Cell
|
||||||
def updateTitle():
|
def updateTitle():
|
||||||
root.title(f'Signing page {pageNumber()}/{pageCount} of {filePath}')
|
root.title(f'Signing page {pageNumber()}/{pageCount} of {filePath}')
|
||||||
|
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren