☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

RadioGroup appearance

Community Support
_jm
_jm

With Bokeh 2.2.3, is there a mechanism to set spacing between buttons of a RadioGroup? I’d like to have some control over these so they can be more flexibly aligned with icons in one of my documents.

Here’s a snapshot of the current appearance; ideally, I’d prefer to have the buttons and their associated images aligned along their centerlines.

Screen Shot 2021-02-04 at 1.48.32 PM

⌁   Link to post
Bryan
Bryan

Probably worth opening an issue over this, I don’t think radio buttons + icons has ever gotten any specific attention past whatever original basic implementation work there was. I’m guessing it must not be a commonly used combination. For now, there may be manual CSS tweaks you could make (probably easiest to just open the page in a browser to see what changes might work). You can specify css_classes for the widget and add the associated CSS rules in the page template.

⌁   Link to post

End of archived discussion · Replies are disabled