Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to layout the space horizontally between radio button options

2972347Sep 22 2016 — edited Sep 22 2016

Hi,

I have two radio button options. I want to layout the horizontal space between radio button options.

I tried following:

<af:selectOneRadio layout="horizontal">

<af:forEach var="item" items="#{bindings.LocationControlCode.items}">

<af:selectItem label="#{item.label} value="#{item.value}"/>

<af:spacer width="100"/>

</af:forEach>

</af:selectOneRadio>

But this does not render the white space between radio options.

I got a workaround which is leaving spaces in the label , but this is not as per coding standards.

Is there any other way to layout horizontal space between radio options.

Following is my requirement.

pastedImage_22.png

Thanks

Rishab

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2016
Added on Sep 22 2016
3 comments
1,003 views