Skip to content

Confused about vuetify layout in drawer #242

Answered by jourdain
fdinhSG asked this question in Q&A
Discussion options

You must be logged in to vote

Welcome to trame!

  • First of all Container/Row/Col are supposed to be used together to properly handle their negative margin.
  • You can read more about their grid system here.
  • If you want to play and figure out the layout you can use Play Vuetify. Technically, you just need to nest your widgets in VCol like in that full example.

Then for the last question, you can not create a detached widget (Snackbar) as a callback. The UI should be created once and rely on the shared state to show/hide/enable UI element.
In short you are looking at doing something like.

with layout:
   vuetify.VBtn("ToggleSnack", click="show_snack = !show_snack")
   vuetify.VSnackbar("Hello world", v_model=("show_snack", F…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@fdinhSG
Comment options

@fdinhSG
Comment options

@jourdain
Comment options

@jourdain
Comment options

@fdinhSG
Comment options

Answer selected by jourdain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants