How to align radio options vertically? #735
-
I would like to align radio options vertically. For example, I would like to have: rather than: |
Beta Was this translation helpful? Give feedback.
Answered by
richard-to
Aug 5, 2024
Replies: 1 comment
-
I haven't verified, but I think you can do something like this (i.e. add me.radio(
options=[
me.RadioOption(label=value, value=value)
for value in values
],
style=me.Style(display="flex", flex_direction="column"),
on_change=on_change_radio,
) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
richard-to
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't verified, but I think you can do something like this (i.e. add
style=me.Style(display="flex", flex_direction="column")
):