Closed norwagov closed 6 months ago
This might be a limitation of your browser and OS. Usually with Chrome in app mode the sizing works, but generally most browsers now do not let the user programmatically resize windows, least not without user interaction triggering this. You can try window.resizeTo() in JavaScript and see if that works.
It is using Chrome by default if the mode argument to eel.start()
is not given. Firefox isn't specifically supported at this time, you'd have to do this with mode='custom'
.
Okay, it works on another OS. Thank You for the help!
Eel version I'm using 0.16.0 EEL version.
Describe the bug When I try to create any app using eel, i cannot use:
...because the effect looks like this:
Well, as you can see from the code, it should be smaller.
To Reproduce Steps to reproduce the behavior:
main.py
filemain.py
, createassets
folderindex.html
, and put some code in it. I've just put a pure string for test.python -u <directory>/main.py
in terminal / Execute the python fileExpected behavior The window should be 500px by 500px. Well, it's not.
System Information