-
-
Notifications
You must be signed in to change notification settings - Fork 844
Open
Labels
questionStatus: Needs clarification from the authorStatus: Needs clarification from the author
Description
First Check
- I added a very descriptive title here.
- This is not a Q&A. I am sure something is wrong with NiceGUI or its documentation.
- I used the GitHub search to find a similar issue and came up empty.
Example Code
def open_search_popup():
with ui.dialog().classes('w-96').props('backdrop-filter="blur(8px) brightness(40%)"') as dialog, ui.card().classes('w-96'):
ui.label('A').classes(f'text-lg font-bold mb-2 w-full')
# Mode selection - create without initial value and set it after creation
mode = ui.toggle(
options=
{'i' : 'B',
'w' : 'C',
't' : 'D'},
value= 'i'
).classes('w-full justify-center mb-4').bind_value(search_mode).on_value_change(test_func)
textinput = ui.textarea(placeholder='検索').props('clearable').classes('w-full shadow-xl rounded-lg focus: border-4 border-indigo-200 border-b-indigo-500')
dialog.open()
Description
After updated to NiceGui 3.0, almost all the widgets' style on page broken after packaged with pyinstaller.(When run from script the style works correctly), not only the widget I have custom CSS but also those with default style.
From packaged version:

From script(Works correctly):

NiceGUI Version
3.0.4
Python Version
Python 3.13.3
Browser
Edge
Operating System
Windows
Additional Context
No response
Metadata
Metadata
Assignees
Labels
questionStatus: Needs clarification from the authorStatus: Needs clarification from the author