Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RadioBoxGroup Styling not working in FastTemplate #5013

Closed
MarcSkovMadsen opened this issue Jun 2, 2023 · 0 comments · Fixed by #5015
Closed

RadioBoxGroup Styling not working in FastTemplate #5013

MarcSkovMadsen opened this issue Jun 2, 2023 · 0 comments · Fixed by #5015
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

I'm on Panel 1.0.4 and trying to help a user that wanted to migrate from Streamlit to Panel in https://discourse.holoviz.org/t/migrate-from-streamlit-to-panel/5463.

As you can see below the RadioBoxGroup is not usuable with the current styling. It used to work.

image

import time
import panel as pn

pn.extension(sizing_mode="stretch_width")


def calculation_a():
    time.sleep(1.5)


def calculation_b():
    time.sleep(1.5)


calculation = pn.widgets.RadioBoxGroup(
    name="Calculation",
    options=["Calc A", "Calc B"],
    button_type="primary",
    button_style="outline",
    inline=True,
)

component = pn.Column(calculation)

pn.template.FastListTemplate(title="Calculation Runner", main=[component]).servable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants