Radio horizontal lay-out
Posted: Fri Nov 27, 2020 1:38 pm
Is the radio intended to have only vertical lay-out or there is some way to have it in horizontal?
The Cross-Platform Multimedia Application Layer
https://www.forums.hollywood-mal.com/
By default, MUI will place the entries vertically below each other. But since Radio class is a subclass of Group class, you can use group layout attributes to adjust the layout to your needs, e.g. MUIA_Group_Horiz, TRUE for a horizontal radio button row or even MUIA_Group_Rows/Columns for a more fancy layout.
Code: Select all
- New: Added Radio.Columns [I] attribute; this allows you to set the number of columns to use when laying
out the radio buttons (defaults to 1); note that on Android, you cannot have complex radio layouts that
use columns and rows; you can either have all radio buttons appear in one row (horizontal layout) or in
one column (vertical layout)