cancel
Showing results for 
Search instead for 
Did you mean: 

Radio button change to horizontal

Former Member
0 Kudos

Hello Experts,

Is there CSS class/property, I can use to change the orientation of grouped radio buttons from default vertical to horizontal?

I tried few tricks but didn't helped. Not sure if I'm using right class which I got from F12.

.rb, .sapUiRbG, .zenControl {

  display:inline !important;

}

Thank you,

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Ravi,

In the properties tab of the Radio button, please increase the number of columns to greater than or equal to the number of values displayed in the radio button group.

This should work, please try.

Regards,

Swapnil Koti

Former Member
0 Kudos

Thanks Swapnil. I used this setting but only works static set. I need this to be dynamic.

-Ravi

former_member194504
Active Contributor
0 Kudos

Hi Ravi,

Try this

.sapUiRbG>.sapUiRb, .sapUiRbGCol>.sapUiRb {

    float: none !important;

    clear:  none !important;

}

Make sure you have the width to contain the radio group

Thanks,

Nithyanandam

Former Member
0 Kudos

Thanks Venu. Works like a charm

Answers (1)

Answers (1)

former_member194504
Active Contributor
0 Kudos

Glad it helped