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

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

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

Post by onoehring » 2020-11-17 09:04

Hi,

I notice, using radio buttons that they are placed vertical.
r1.png
r1.png (4.55 KiB) Viewed 3741 times
Right now it looks like this:
r2v.png
r2v.png (1.83 KiB) Viewed 3741 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 3741 times
Olaf

rpierce
Veteran Member
Posts: 255
Joined: 2018-11-26 13:55
Location: Washington State

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

Post by rpierce » 2021-07-19 22:36

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;

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1156
Joined: 2019-05-21 22:42
Location: Germany
Contact:

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

Post by onoehring » 2021-07-29 07:38

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

Post Reply