Get help from the marimo community

Updated 4 months ago

How to change layout orientation?

At a glance

The community member is seeking help with two layout issues: 1) how to display a dropdown with the label on top, and 2) how to lay out radio buttons horizontally. The comments suggest that using full_width may help with some inputs, but not all, and that using markdown or plain HTML could be a solution. However, there is no explicitly marked answer provided.

Basically I have two cases where I'm not sure how to change the layout orientation to match what I'm going for:
  • Dropdown with label on top, I've been able to workaround this by stacking a md on top of the dropdown but I'd prefer to consolidate if possible
  • Horizontal radio button layout basically I want the radio buttons to be laid out horizontally e.g., O select1 O select2 O select3
Are either of these possible?
M
2 comments
full_width will change the orientation for some inputs, but not all
Otherwise using markdown or plain html can help - I can provide snippets if you need
Add a reply
Sign up and join the conversation on Discord