# Listing radio buttons horizontally

**URL:** <https://forum.servoy.com/t/listing-radio-buttons-horizontally/3725>\
**Category:** Classic Servoy\
**Created:** [February 23, 2005, 12:38pm UTC](https://forum.servoy.com/t/listing-radio-buttons-horizontally/3725 "2005-02-23T12:38:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brenda](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@brenda](https://forum.servoy.com/u/brenda)\
**Post date:** [February 23, 2005, 12:38pm UTC](https://forum.servoy.com/t/listing-radio-buttons-horizontally/3725/1 "2005-02-23T12:38:27Z")

</div>

I have a field with DisplayType Radios attached to a value list. By default, the three radio buttons display in a vertical list. I would like to display the three radio buttons horizontally (i.e., side by side). Is there a way to do this?

Thanks,  
Brenda

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 23, 2005, 12:48pm UTC](https://forum.servoy.com/t/listing-radio-buttons-horizontally/3725/2 "2005-02-23T12:48:55Z")

</div>

You can do this with the scrollbar property of the field.

To get them to fill left to right:  
vertical scrollbar: never  
horizontal scrollbar: never

To get them to fill top to bottom and left to right:  
vertical scrollbar: never  
horizontal scrollbar: when needed

---

<div class="post-metadata">

**Author:** ![brenda](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@brenda](https://forum.servoy.com/u/brenda)\
**Post date:** [February 23, 2005, 12:54pm UTC](https://forum.servoy.com/t/listing-radio-buttons-horizontally/3725/3 "2005-02-23T12:54:19Z")

</div>

Thanks Robert. That seems to have worked. However, I only see two of my three radio buttons. One of the items in the value list is significantly longer than the other two and the spacing between the radio buttons appears to be related to the longest item in the value list since when I shorten that item, I do see all three radio buttons.

Is there a way to control the amount of space that appears between the radio buttons when displayed horizontally?

Brenda

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 23, 2005, 12:59pm UTC](https://forum.servoy.com/t/listing-radio-buttons-horizontally/3725/4 "2005-02-23T12:59:34Z")

</div>

I don’t think you can control that spacing other then making your valuelist items shorter.
