Running in native mode results in a blank window. #2737
Replies: 5 comments 19 replies
-
Hi @alimate2023, Have you installed the newest versions of NiceGUI and pywebview? |
Beta Was this translation helpful? Give feedback.
-
somebody help me! plz .. |
Beta Was this translation helpful? Give feedback.
-
@alimate2023 thanks for providing more details. Instead of screenshots, text would have been much better because it would allow us to copy paste code or the url. Have you read the link behind the url in the pywebview warning? |
Beta Was this translation helpful? Give feedback.
-
check your system proxy |
Beta Was this translation helpful? Give feedback.
-
@alimate2023 from nicegui import ui,app
app.native.start_args['gui'] = 'edgechromium'
ui.icon('thumb_up')
ui.markdown('This is **Markdown**.')
ui.html('This is <strong>HTML</strong>.')
with ui.row():
ui.label('CSS').style('color: #888; font-weight: bold')
ui.label('Tailwind').classes('font-serif')
ui.label('Quasar').classes('q-ml-xl')
ui.link('NiceGUI on GitHub', 'https://github.com/zauberzeug/nicegui')
ui.label('Hello from PyInstaller')
ui.run(reload=False,native=True, window_size=(400, 300), fullscreen=False) |
Beta Was this translation helpful? Give feedback.
-
Running in native mode results in a blank window.
The console displays a warning message as follows
I don't know if elements are not displayed in the native window.
console error
NiceGUI ready to go on http://localhost:8000
[pywebview] MSHTML is deprecated. See https://pywebview.flowrl.com/guide/renderer.html#web-engine on details how to
use Edge Chromium
Beta Was this translation helpful? Give feedback.
All reactions