onyx/RadioGroup query.

I have a RadioGroup with 5 button items in it, I would like to add a label in the middle of the group, so I end up with

Button1 Button2 Label Button3 Button3 Button3

all as a single group, I've tried adding a Control kind, into the group, and I get the text, but it seems to create a break in the layout, so I end up with

Button1 Button2
Label
Button3 Button4 Button5

Any ideas, how I can get layout I'm after.

Tim.

Comments

  • enyo/Control renders a by default which has an intrinsic CSS display of block. You could either specify an different tag for your label:
    {kind: Control, tag: 'span', content: 'Label'}
    Or apply inline or inline-block styling to the control.
Sign In or Register to comment.