Page 1 of 1

5.92 (and below): arrange radiobuttons horizontal and/or vertical

Posted: 2020-11-17 09:04
by onoehring
Hi,

I notice, using radio buttons that they are placed vertical.
r1.png
r1.png (4.55 KiB) Viewed 4607 times
Right now it looks like this:
r2v.png
r2v.png (1.83 KiB) Viewed 4607 times
It would be great to have the option to place them horizontally next to each other as well. Like this (modified image):
r2h.png
r2h.png (2.58 KiB) Viewed 4607 times
Olaf

Re: 5.92 (and below): arrange radiobuttons horizontal and/or vertical

Posted: 2021-07-19 22:36
by rpierce
I know this is an old post, but I had the same question and found that if you edit the tablename_dml.php file you can fix this. It will have to be done every time you regenerate your app however.

look for the line (use the find and replace feature in your text editor) $combo_how_long->RadiosPerLine = 1; change the 1 to whatever you like and they will be arranged horizontally.

$combo_how_long->RadiosPerLine = 6;

Re: 5.92 (and below): arrange radiobuttons horizontal and/or vertical

Posted: 2021-07-29 07:38
by onoehring
Hi,

thank you for the suggestion. As good as it is, I want to avoid changing regenerated files. For AG it could simply be a second option at this:
Radio buttons
-> vertical
-> horizontal

Thanks again
Olaf