How to change drawer width? #161
-
I can't figure this out. Quasar specifies |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
These Quasar "props" need to be passed to the @ui.page('/')
def page():
ui.label('Content')
with ui.left_drawer().props('width=80 bordered'):
ui.label('Drawer') In contrast, the |
Beta Was this translation helpful? Give feedback.
These Quasar "props" need to be passed to the
.props()
method. The following example shows a very narrow drawer:In contrast, the
.style()
method expects CSS. But this has no effect in this case because Quasar does quite some magic in creating the page layout, so you can't manipulate the element's style directly.