radio button style/skin
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
radio button style/skin
Is there a way to change the default appearance of the radio buttons? The default radio buttons doesnt look good on android
thanks,
-Rye
thanks,
-Rye
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: radio button style/skin
Hi slowdash
Yes. You can set the icon of radio btn also
Best regards
Jan-Marc
Yes. You can set the icon of radio btn also
Best regards
Jan-Marc
https://alternatic.ch
Re: radio button style/skin
yep, i know it can also be styled, but i cant seem to figure out, how i can put an icon for the hilited/pressed/currently selected state
Re: radio button style/skin
import the images you wish to use for your selected and unslected radio button
place your radio buttons on the card
make sure its selected
go into the property inspector
go to the icons and border pane
put the id of the image you wish to be the unselected look for your radio button into the first box (icon)
put the id of the image you wish to be the selected look for your radio button into the second box (hilited icon)
try it out!
If you want the image on the left and the button label on the right you can go into the text formatting pane and choose right justified. If you want the image on the right, choose left justified.
place your radio buttons on the card
make sure its selected
go into the property inspector
go to the icons and border pane
put the id of the image you wish to be the unselected look for your radio button into the first box (icon)
put the id of the image you wish to be the selected look for your radio button into the second box (hilited icon)
try it out!
If you want the image on the left and the button label on the right you can go into the text formatting pane and choose right justified. If you want the image on the right, choose left justified.
Re: radio button style/skin
hi sturgis, thanks man that works perfectly
Re: radio button style/skin
Anybody know how to place icon next to the label (not on the opposite side)?
-
- VIP Livecode Opensource Backer
- Posts: 9695
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: radio button style/skin
Hi.
Does changing the textalign to "right" do what you asked?
Craig Newman
Does changing the textalign to "right" do what you asked?
Craig Newman
Re: radio button style/skin
No. It aligns text to the right but now icon go to left. Same thing...dunbarx wrote:Hi.
Does changing the textalign to "right" do what you asked?
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 7250
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: radio button style/skin
Adjust the right margin of the button. For example, "set the rightmargin of btn x to 10".
You'll have to experiment to find the right amount, and if you change the label you'll need to do it again.
You'll have to experiment to find the right amount, and if you change the label you'll need to do it again.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com