Skip to content
Discussion options

You must be logged in to vote

You can add the class "no-wrap" to the row. Because images get their size automatically from the surrounding container, we either need to give the row or the images themselves a width or height:

with ui.row().classes('no-wrap'):
    ui.image("https://picsum.photos/id/377/640/360").classes('w-60')
    ui.button("Button 1")
    ui.button("Button 2")
    ui.button("Button 3")
    ui.image("https://picsum.photos/id/377/640/360").classes('w-60')

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wielandb
Comment options

@rodja
Comment options

rodja Mar 9, 2023
Maintainer

Answer selected by wielandb
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