If we could change the size of ui.dialog() with a custom value #3313
-
Besides the prop full-width, full-height, maxized , is there a way to define a dialog with a custom width and height like width=500px,height=300px |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Jul 4, 2024
Replies: 2 comments 3 replies
-
with ui.dialog(value=True), ui.card().classes('w-[500px] h-[300px]'):
ui.label('Hello, world!') |
Beta Was this translation helpful? Give feedback.
3 replies
-
Quasar website has many examples, the most example of quasar,nicegui could do the same. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, there seems to be a maximum width defined by Quasar:
We can reset it forcefully like this: