Skip to content

Card Layout #361

Closed Answered by rodja
karndeb asked this question in Q&A
Feb 10, 2023 · 1 comment
Discussion options

You must be logged in to vote

Currently you need to use Tailwind/Quasar or CSS to do such layouting. We are in discussion to provide a simpler way in #117. Have a look at https://quasar.dev/style/positioning for example. Here a short example:

with ui.card().classes('absolute-center'):
    with ui.row():
        with ui.column():
            ui.input('Username')
            ui.input('Password', password=True)
            ui.button('Login')
        with ui.column():
            ui.image('https://picsum.photos/200/300').classes('w-32')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by karndeb
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
Converted from issue

This discussion was converted from issue #358 on February 10, 2023 09:24.