Skip to content

How to make v-col fill the remaining width #13180

Discussion options

You must be logged in to vote

Use cols="auto" for the column that you want its width to be equal with its content width

<v-row dense>
  <v-col>
    <v-text-field label="Label" hide-details="auto" />
  </v-col>
  <v-col cols="auto">
    <v-btn color="info">Button</v-btn>
  </v-col>
</row>

Live example

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alielmajdaoui
Comment options

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