How do I position the button to the right? #3814
-
QuestionHow do I position the the "NEXT" and "PREVIOUS" button to the right? with ui.column().classes('w-1/3'):
with ui.row():
with ui.button_group().props('flat'):
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
ui.button(icon='lens').props('dense flat')
with ui.column().classes('w-1/3 bg-secondary'):
ui.label('banner')
with ui.column().classes('w-auto'):
with ui.row().classes('w-full justify-end'):
prev_btn = ui.button('PREVIOUS')
next_btn = ui.button('NEXT') |
Beta Was this translation helpful? Give feedback.
Answered by
bbalendran
Sep 30, 2024
Replies: 1 comment 1 reply
-
One way is to use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks.
I was able to fix it by changing the column width to 31% instead of "auto".