Set window maximized

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2018-09-01 12:29:31 +02:00
parent 18ac67e6d1
commit d1e5089bdd
Signed by: dalan
GPG Key ID: EE3B917931C07B64
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ html = html.replace("__IMG_PATH__", img)
web = QWebEngineView()
web.setHtml(html,QUrl("file://" + exe_dir + "/index.html"))
web.setWindowTitle(img)
web.showMaximized()
web.show()
sys.exit(app.exec_())