Hi there
In a KNIME Python extension, a radio button can be created using knext.EnumParameter
with its style
parameter set to style=knext.EnumParameter.Style.RADIO
.
By default, all the options are arranged from left to right and then top to bottom, like this:
However, this layout can become cluttered and overwhelming, especially when the options are long and vary significantly in length.
Is there a way to control the visual arrangement of a radio button’s options?
For example, in my case, where the options are long and inconsistent in length, arranging them one per line would make the layout much more readable:
I’m aware of alternative styles like a dropdown, but before resorting to those, I want to make sure one cannot customize the radio button’s appearance to achieve this kind of layout.
Best
Lo