diff --git a/app/styles/app.css b/app/styles/app.css index a3c5d9c..2dcde90 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -130,6 +130,11 @@ div.code-toolbar { user-select: none; } +.inline-radio > .gui-input-radio { + display: inline; + margin-right: 1rem; +} + .btn { margin: 0 0 0.8rem 2px; } diff --git a/py/gooey_gui/components/common.py b/py/gooey_gui/components/common.py index 7d095f1..f086b01 100644 --- a/py/gooey_gui/components/common.py +++ b/py/gooey_gui/components/common.py @@ -772,6 +772,7 @@ def radio( disabled: bool = False, checked_by_default: bool = True, label_visibility: LabelVisibility = "visible", + **props, ) -> T | None: if not options: return None @@ -796,6 +797,7 @@ def radio( help=help, tooltipPlacement=tooltip_placement, disabled=disabled, + **props, ), ).mount() return value