resizing the native window in NiceGui #909
-
QuestionHi everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for reaching out @impubes. Currently there is no way to resize the native window. pywebview is running in a different process than the FastAPI server (and the NiceGUI event loop). But I've created the pull-request #917 which uses a proxy object to do it anyway. It's quite complicated code, but should be very easy to use. Would you like to try it and tell me if it is working for you? |
Beta Was this translation helpful? Give feedback.
-
Since NiceGUI 1.2.16 you can manipulate the native window like this: app.native.main_window.resize(1000, 700) See PR #917 for more information. |
Beta Was this translation helpful? Give feedback.
Since NiceGUI 1.2.16 you can manipulate the native window like this:
See PR #917 for more information.