RadioGroup Line Spacing

1 Answer 56 Views
RadioGroup
Chris
Top achievements
Rank 1
Chris asked on 21 Feb 2023, 03:04 PM
How can I reduce the line spacing when a horizontal radiogroup wraps in a DIV?

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 22 Feb 2023, 12:11 PM

Hi, Christopher.

The radio list uses flex box for laying out its items. As such, you simply need to customize the vertical spacing (or row spacing).

.k-radio-list.k-list-horizontal {
      row-gap: 4px;
}

Putting everything together: https://dojo.telerik.com/@joneff/AGiZOjOL 

Regards,
Ivan Zhekov
Progress Telerik

Learn about the important changes coming in UI for Blazor 4.0 in January 2023!
Tags
RadioGroup
Asked by
Chris
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or