I am trying to place a label next to a radio button.
For the y-coordinate of the text label I was using ((buttonname.top)+10) but Corona blew up when I tried this.
Can someone give me a pointer as to the correct syntax for this?
I am trying to place a label next to a radio button.
For the y-coordinate of the text label I was using ((buttonname.top)+10) but Corona blew up when I tried this.
Can someone give me a pointer as to the correct syntax for this?
It would be buttonName.x + offset. .x is the center of the radio button.
Rob
It would be buttonName.x + offset. .x is the center of the radio button.
Rob
Hi Rob, i use radio buttons too in my app but i can’t find a way to change their color (i just want to have them black, not blue…) and :setFillColor() doesn’t work… Could you help me ?
Hi @Bertko,
Can you please post your code for us? Just the basics… where you create the radio button and try to fill it.
Thanks,
Brent
Radio buttons are created from images in the theme or external images, you would need to create the on/off images in an image editor
Hi Rob, i use radio buttons too in my app but i can’t find a way to change their color (i just want to have them black, not blue…) and :setFillColor() doesn’t work… Could you help me ?
Hi @Bertko,
Can you please post your code for us? Just the basics… where you create the radio button and try to fill it.
Thanks,
Brent
Radio buttons are created from images in the theme or external images, you would need to create the on/off images in an image editor